diff options
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/loopback.in | 4 |
1 files changed, 2 insertions, 2 deletions
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 |