aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/network
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-xrc.d/init.d/network7
1 files changed, 4 insertions, 3 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 2f35f494..4e0cd8b4 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -68,10 +68,11 @@ case "$1" in
apply_sysctl
- if [ -r /etc/ethers -a -x /sbin/arp ]; then
- action "Storing ARP mapping" /sbin/arp -f /etc/ethers
+ #tell NM to reload its configuration
+ if [ "$(LANG=C nmcli -t --fields running general status 2>/dev/null)" = "running" ]; then
+ nmcli connection reload
fi
-
+
# bring up loopback interface
action "Bringing up loopback interface: " ./ifup ifcfg-lo