diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2016-11-03 12:47:01 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2016-11-03 12:47:01 -0500 |
commit | 4f9bd7e4db185ce6debbebb5242344d8ffadc3ae (patch) | |
tree | a932eb8fe7f4fe4bdaf6208cbc293505f7433ae1 /init.d | |
parent | bf539f2196290864ce5c5fd0d679b74ee016e2da (diff) |
init.d/loopback.in: drop the route to the loopback interface on Linux
This is related to #103.
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/loopback.in | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/init.d/loopback.in b/init.d/loopback.in index 59bdae29..61f21cd2 100644 --- a/init.d/loopback.in +++ b/init.d/loopback.in @@ -22,11 +22,9 @@ start() 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 + - 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 - route add -net 127.0.0.0 netmask 255.0.0.0 gw 127.0.0.1 fi else ebegin "Bringing up network interface lo0" |