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