slitaz-boot-scripts diff etc/init.d/network.sh @ rev 111
network.sh: fix hostname & lo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 24 09:07:50 2008 +0000 (2008-07-24) |
parents | 10d28491bea5 |
children | 75582bc44d58 |
line diff
1.1 --- a/etc/init.d/network.sh Tue Jul 22 22:25:02 2008 +0000 1.2 +++ b/etc/init.d/network.sh Thu Jul 24 09:07:50 2008 +0000 1.3 @@ -6,7 +6,7 @@ 1.4 . /etc/network.conf 1.5 1.6 # Only configure hostname and loopback at boot time 1.7 -if [ -n "$1" ]; then 1.8 +if [ -z "$1" ]; then 1.9 1.10 # Set hostname. 1.11 echo -n "Setting hostname... "