#!/bin/sh #------------------------------------------------------------------------------ # /var/install/deinstall/tarb - cpio backup deinstall script # # Copyright (c) 2004 Jens Vehlhaber # # Creation: 07.11.2004 jv # Last Update: $Id$ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #------------------------------------------------------------------------------ ### --------------------------------------------------------------------------- ### remove cron jobs ### --------------------------------------------------------------------------- /var/install/config.d/tarb.sh remove ### --------------------------------------------------------------------------- ### remove start/stop file ### --------------------------------------------------------------------------- rm -f /etc/init.d/tarb ### --------------------------------------------------------------------------- ### remove config and check file ### --------------------------------------------------------------------------- rm -f /etc/config.d/tarb rm -f /etc/default.d/tarb rm -f /etc/check.d/tarb* rm -f /etc/filelist.d/tarb-files.txt ### --------------------------------------------------------------------------- ### remove program and data files ### --------------------------------------------------------------------------- rm -rf /usr/local/tarb ### --------------------------------------------------------------------------- ### remove doc ### --------------------------------------------------------------------------- rm -rf /usr/share/doc/tarb ### --------------------------------------------------------------------------- ### remove from menu system ### --------------------------------------------------------------------------- /var/install/bin/del-menu setup.services.menu setup.services.tarb.menu ### --------------------------------------------------------------------------- ### remove menu controls ### --------------------------------------------------------------------------- rm -f /var/install/menu/setup.services.tarb.menu rm -f /var/install/config.d/tarb.sh rm -f /var/install/config.d/tarb-update.sh ### --------------------------------------------------------------------------- ### remove packages ### --------------------------------------------------------------------------- rm -f /var/install/help/tarb rm -f /var/install/packages/tarb rm -f /var/install/deinstall/tarb ### --------------------------------------------------------------------------- exit 0