Skip to content

Commit 6a2a139

Browse files
committed
netconf_hook: Add handling of the local interface for services that need to bind to it.
1 parent 38ec612 commit 6a2a139

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

netconf_hook

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ run_hook ()
8383

8484
fi
8585

86+
# set link up for lo
87+
/sbin/ip link set up lo
8688
}
8789

8890
run_cleanuphook ()
@@ -91,4 +93,7 @@ run_cleanuphook ()
9193
/sbin/ip addr flush dev "$device"
9294
/sbin/ip link set down "$device"
9395
done
96+
97+
# set ip link down for lo
98+
/sbin/ip link set down lo
9499
}

0 commit comments

Comments
 (0)