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 @@ | |||
5 | [ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 | 5 | [ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 |
6 | 6 | ||
7 | RESOLV_CONF="/etc/resolv.conf" | 7 | RESOLV_CONF="/etc/resolv.conf" |
8 | [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" | ||
9 | [ -n "$subnet" ] && NETMASK="netmask $subnet" | 8 | [ -n "$subnet" ] && NETMASK="netmask $subnet" |
10 | 9 | ||
11 | # return 0 if root is mounted on a network filesystem | 10 | # return 0 if root is mounted on a network filesystem |
@@ -17,8 +16,11 @@ root_is_nfs() { | |||
17 | have_bin_ip=0 | 16 | have_bin_ip=0 |
18 | if [ -x /sbin/ip ]; then | 17 | if [ -x /sbin/ip ]; then |
19 | have_bin_ip=1 | 18 | have_bin_ip=1 |
19 | BROADCAST="broadcast +" | ||
20 | fi | 20 | fi |
21 | 21 | ||
22 | [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" | ||
23 | |||
22 | case "$1" in | 24 | case "$1" in |
23 | deconfig) | 25 | deconfig) |
24 | if [ -x /sbin/resolvconf ]; then | 26 | if [ -x /sbin/resolvconf ]; then |