diff --git a/BUSYBOX.md b/BUSYBOX.md index db7ca512..c8a78e7b 100644 --- a/BUSYBOX.md +++ b/BUSYBOX.md @@ -22,9 +22,6 @@ or recognize the nofail option in fstab. CONFIG_SETFONT -- The setfont applet does not support the -u option from kbd. -CONFIG_IP -- The ip applet doesn't support the "scope" modifier for -"ip route add" and "ip address add". - CONFIG_BB_SYSCTL -- The sysctl applet does not support the --system command line switch. diff --git a/init.d/loopback.in b/init.d/loopback.in index f76dfce6..59bdae29 100644 --- a/init.d/loopback.in +++ b/init.d/loopback.in @@ -21,8 +21,8 @@ start() if [ "$RC_UNAME" = Linux ]; then ebegin "Bringing up network interface lo" if command -v ip > /dev/null 2>&1; then - ip addr add 127.0.0.1/8 dev lo brd + scope host - ip route add 127.0.0.0/8 dev lo scope host + ip addr add 127.0.0.1/8 dev lo brd + + ip route add 127.0.0.0/8 dev lo ip link set lo up else ifconfig lo 127.0.0.1 netmask 255.0.0.0