From: Thibault Godouet Date: Sat, 21 Apr 2001 08:52:53 +0000 (+0000) Subject: use for statement for a clearer code X-Git-Tag: ver2_9_4~373 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c63a57f2a5c1ec281feaa1d48bc407f5ab43022;p=thirdparty%2Ffcron.git use for statement for a clearer code --- diff --git a/script/boot-uninstall b/script/boot-uninstall index 78e8d24..717aec0 100755 --- a/script/boot-uninstall +++ b/script/boot-uninstall @@ -2,7 +2,7 @@ # Uninstall fcron under SysV system. # -# $Id: boot-uninstall,v 1.6 2001-03-02 17:48:34 thib Exp $ +# $Id: boot-uninstall,v 1.7 2001-04-21 08:52:53 thib Exp $ PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin" @@ -18,13 +18,11 @@ else if test $ROOTDIR != ""; then rm -f $ROOTDIR/init.d/fcron - rm -f $ROOTDIR/rc2.d/S40fcron - rm -f $ROOTDIR/rc3.d/S40fcron - rm -f $ROOTDIR/rc4.d/S40fcron - rm -f $ROOTDIR/rc5.d/S40fcron + for i in 0 1 2 3 4 5 6 + do + rm -f $ROOTDIR/rc$i.d/???fcron + done - rm -f $ROOTDIR/rc0.d/K60fcron - rm -f $ROOTDIR/rc6.d/K60fcron else echo echo "You should delete fcron from your boot script manually"