tazlito rev 186
tazlito: ensure connectivity for loram-http
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 05 20:31:45 2010 +0100 (2010-11-05) |
parents | b8347b934dc4 |
children | 740c4e602c14 |
files | tazlito |
line diff
1.1 --- a/tazlito Fri Nov 05 17:06:48 2010 +0100 1.2 +++ b/tazlito Fri Nov 05 20:31:45 2010 +0100 1.3 @@ -764,7 +764,7 @@ 1.4 echo "nameserver \$i" >> /etc/resolv.conf 1.5 done 1.6 else 1.7 - udhcpc -s /lib/udhcpc -i \$eth 1.8 + udhcpc -f -q -s /lib/udhcpc -i \$eth 1.9 fi 1.10 for i in $urliso ; do 1.11 [ -n "\$URLISO" ] && URLISO="\$URLISO," 1.12 @@ -852,6 +852,7 @@ 1.13 fi 1.14 insmod /lib/aufs.ko.gz 1.15 mount -t aufs -o \$branch none /mnt 1.16 +[ -x /bin/httpfs ] && sed -i 's/DHCP="yes"/DHCP="no"/' /mnt/etc/network.conf 1.17 [ \$memfree -lt 30000 ] && sed -i 's/ slim//' /mnt/etc/rcS.conf 1.18 [ -x /mnt/sbin/init ] && exec /bin/switch_root mnt /sbin/init || sh 1.19 EOTEOT