wok-stable diff busybox/stuff/udhcp.script @ rev 6839
Added python-chardet.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Oct 19 21:50:28 2010 +0000 (2010-10-19) |
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 Tue Oct 19 21:50:28 2010 +0000 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"