[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 "^${module} " ; then

-- 
Matthias Urlichs

Attachment: signature.asc
Description: Digital signature


Reply to: