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



is it ok when acripts start with #!/bin/bash even if they shouldn't ?

I found at least /etc/init.d/apache, /etc/init.d/autofs

it seems apache could run with ash for example w/o problems
- it just needs change all

echo -ne "blahblah\n"
echo "blahblah"

(wtf do we need the first?)

autofs seems can be easily changed to be runned using ash...

shouldn't maintainers use scripts that don't require bash?
 Matus "fantomas" Uhlar, sysadmin at NEXTRA, Slovakia; IRCNET admin of *.sk
 uhlar@fantomas.sk ; http://www.fantomas.sk/ ; http://www.nextra.sk/
 Nothing is fool-proof to a talented fool. 

Reply to: