wok diff busybox/stuff/udhcp.script @ rev 9974
linux: FIX config files (they was missing config and still i486 config)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 18 19:11:35 2011 +0200 (2011-05-18) |
parents | bc79e85a1561 |
children | 127ec27f61ab |
line diff
1.1 --- a/busybox/stuff/udhcp.script Thu Dec 03 15:09:30 2009 +0100 1.2 +++ b/busybox/stuff/udhcp.script Wed May 18 19:11:35 2011 +0200 1.3 @@ -4,6 +4,7 @@ 1.4 1.5 [ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 1.6 1.7 +[ "$subnet" == "255.255.255.255" ] && subnet="255.255.0.0" # qemu weirdness 1.8 RESOLV_CONF="/etc/resolv.conf" 1.9 [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" 1.10 [ -n "$subnet" ] && NETMASK="netmask $subnet"