wok-current diff busybox/stuff/udhcp.script @ rev 8757
Fixed codeblocks.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Feb 20 20:53:28 2011 +0000 (2011-02-20) |
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 Sun Feb 20 20:53:28 2011 +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"