wok-next diff busybox/stuff/udhcp.script @ rev 6484
Fix Depends: pgadmin (libkrb5)
author | Ben Arnold <ben@seawolfsanctuary.com> |
---|---|
date | Thu Sep 30 15:30:42 2010 +0100 (2010-09-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 Thu Sep 30 15:30:42 2010 +0100 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"