]> granicus.if.org Git - fcron/commitdiff
updated
authorthib <thib>
Sat, 18 Nov 2000 14:51:29 +0000 (14:51 +0000)
committerthib <thib>
Sat, 18 Nov 2000 14:51:29 +0000 (14:51 +0000)
script/boot-uninstall

index c369875cbfa825f292e9362f162399417ffbd353..b836d9c033c174c573a9442cd297421e25a92fd3 100755 (executable)
@@ -2,18 +2,17 @@
 # Uninstall fcron under SysV system.
 #
 
-# $Id: boot-uninstall,v 1.3 2000-09-18 08:24:51 thib Exp $
+# $Id: boot-uninstall,v 1.4 2000-11-18 14:51:29 thib Exp $
 
 PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
 
 ROOTDIR=""
-if test -d /etc/rc.d/init.d/; then
+if test -f /etc/rc.d/init.d/fcron; then
     ROOTDIR="/etc/rc.d"
-elif test -d /etc/init.d/; then
+elif test -f /etc/init.d/fcron; then
     ROOTDIR="/etc"
 fi
 if test $ROOTDIR != ""; then
-    rm -f $ROOTDIR/init.d/fcron-debug
     rm -f $ROOTDIR/init.d/fcron
 
     rm -f $ROOTDIR/rc2.d/S40fcron
@@ -24,5 +23,7 @@ if test $ROOTDIR != ""; then
     rm -f $ROOTDIR/rc0.d/K60fcron
     rm -f $ROOTDIR/rc6.d/K60fcron
 else
-    echo "You may delete fcron from your rc.local manually"
+    echo
+    echo "You may delete fcron from your boot script manually"
+    echo
 fi