diff options
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/busybox/files/simple.script | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/files/simple.script b/meta/recipes-core/busybox/files/simple.script index 78ac4242a8..757e487b97 100644 --- a/meta/recipes-core/busybox/files/simple.script +++ b/meta/recipes-core/busybox/files/simple.script @@ -5,7 +5,6 @@ [ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 RESOLV_CONF="/etc/resolv.conf" -[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" [ -n "$subnet" ] && NETMASK="netmask $subnet" # return 0 if root is mounted on a network filesystem @@ -17,8 +16,11 @@ root_is_nfs() { have_bin_ip=0 if [ -x /sbin/ip ]; then have_bin_ip=1 + BROADCAST="broadcast +" fi +[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" + case "$1" in deconfig) if [ -x /sbin/resolvconf ]; then |