> possible bashism in hardware/functions line 41 (should be 'b = a'):
>   if [ "$1" == "ccwgroup" ]; then

Hmm. All the scripts that source hardware/functions have #!/bin/bash, so 
that shouldn't be it.

Ah, but /sbin/hwup has:
#!/bin/sh
source /etc/sysconfig/scripts/hardware/hwup "$@"

So as it gets sourced rather than executed, we end up using /bin/sh after 
all. Guess /sbin/hw{up,down} both should also explicitly use /bin/bash. 
Right, with that change the system boots cleanly with dash.

OTOH, it might be a good idea to just rid the scripts of bashisms and 
switch over to /bin/sh allaround.

BTW, note that "source" itself is also a bashism...



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to