Tuesday 30 May 2006 06:48 skrev Iain Buchanan: > I see this [ "x" != "x$BLAH" ] test all over the place, especially in > the /etc/init.d scripts. Maybe -z is not standardised or something? > Dunno why people use it.
You do?? I don't:
$ grep \"[a-z]\" /etc/init.d/*
/etc/init.d/halt.sh: if [[ ${cmd} == "u" ]]; then
/etc/init.d/xdm:# How this basically works, is the "a" runlevel is a additional
/etc/init.d/xdm:# runlevel never gets changed to this runlevel. Along with the
"a"
--
Bo Andresen
pgpBF9dz7TafM.pgp
Description: PGP signature

