slitaz-modular rev 93

local-mirror: Bug fix.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 06 01:45:21 2011 +0000 (2011-05-06)
parents c935060c9a6e
children 0b8a81b6d4f4
files initramfs/usr/bin/local-mirror
line diff
     1.1 --- a/initramfs/usr/bin/local-mirror	Fri May 06 01:32:00 2011 +0000
     1.2 +++ b/initramfs/usr/bin/local-mirror	Fri May 06 01:45:21 2011 +0000
     1.3 @@ -296,7 +296,7 @@
     1.4  		[ "$IP_ADDR" == "127.0.0.1" ] && echo "127.0.0.1 tazpanel tazpanel.slitaz.org" >> /etc/hosts
     1.5  		for hostname in $ADDRESS; do 
     1.6  				if [ "$hostname" = "www.slitaz.org" ]; then
     1.7 -					echo "$IP_ADDR $hostname slitaz.org"
     1.8 +					echo "$IP_ADDR $hostname slitaz.org" >> /etc/hosts
     1.9  				else
    1.10  					echo "$IP_ADDR $hostname" >> /etc/hosts
    1.11  				fi