Bug#178944: discover: Fix still needed for sarge.

2004-03-17 Thread Matthias Urlichs
Hi, R.A.Owen: > ARGUMENTS=$(sed "s/#.*$//" $CONFFILE | grep "^boot " | sed -e's/^.//') Actually, I'd simplify this further. ARGUMENTS=$(sed -n -e "s/#.*$//" -e "s/^boot //p" $CONFFILE) > if cut -d" " -f1 /proc/modules | grep -q "^${module}\$" ; then > This one's almost as bad. if grep -q

Bug#178944: discover: Fix still needed for sarge.

2004-03-17 Thread R.A.Owen
Package: discover Version: 1.1-6 Followup-For: Bug #178944 I'm reporting this from a woody system but I have just looked on a testing(sarge) system and /etc/init.d/discover contains 2 instances of the "cut" command. "cut" in sarge is still in /usr/bin/ The first instance (in discover_1.5-2_i386