summaryrefslogtreecommitdiffstats
path: root/rc.inet1
diff options
context:
space:
mode:
Diffstat (limited to 'rc.inet1')
-rw-r--r--rc.inet12
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.inet1 b/rc.inet1
index 3c9d5c2..6b88d2a 100644
--- a/rc.inet1
+++ b/rc.inet1
@@ -51,7 +51,7 @@ fi
# already up, do nothing.
lo_up() {
if grep lo: /proc/net/dev 1> /dev/null ; then
- if ! /sbin/ip link show dev lo | grep -wq "state UP" ; then
+ if ! /sbin/ip link show dev lo | grep -wq -e "state UP" -e "state UNKNOWN" ; then
echo "/etc/rc.d/rc.inet1: /sbin/ip address add 127.0.0.1/8 dev lo" | $LOGGER
/sbin/ip address add 127.0.0.1/8 dev lo
/sbin/ip link set dev lo up