wok-next diff busybox/stuff/udhcp.script @ rev 5928
Up: beaver (0.4.0) + URL change.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jul 30 10:02:47 2010 +0200 (2010-07-30) |
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 Fri Jul 30 10:02:47 2010 +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"