# HG changeset patch # User Pascal Bellard # Date 1288985505 -3600 # Node ID 7ffa87a9cf5860d9bd89851ce35013453a3b6438 # Parent b8347b934dc456698dfe5df6c0ed9cd42951f04c tazlito: ensure connectivity for loram-http diff -r b8347b934dc4 -r 7ffa87a9cf58 tazlito --- a/tazlito Fri Nov 05 17:06:48 2010 +0100 +++ b/tazlito Fri Nov 05 20:31:45 2010 +0100 @@ -764,7 +764,7 @@ echo "nameserver \$i" >> /etc/resolv.conf done else - udhcpc -s /lib/udhcpc -i \$eth + udhcpc -f -q -s /lib/udhcpc -i \$eth fi for i in $urliso ; do [ -n "\$URLISO" ] && URLISO="\$URLISO," @@ -852,6 +852,7 @@ fi insmod /lib/aufs.ko.gz mount -t aufs -o \$branch none /mnt +[ -x /bin/httpfs ] && sed -i 's/DHCP="yes"/DHCP="no"/' /mnt/etc/network.conf [ \$memfree -lt 30000 ] && sed -i 's/ slim//' /mnt/etc/rcS.conf [ -x /mnt/sbin/init ] && exec /bin/switch_root mnt /sbin/init || sh EOTEOT