slitaz-boot-scripts 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 d6f7d8765539
children 75582bc44d58
files etc/init.d/network.sh
line diff
     1.1 --- a/etc/init.d/network.sh	Wed Jul 23 10:19:50 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... "