aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2015-05-11 17:14:11 +0200
committerLukas Nykryn <lnykryn@redhat.com>2015-05-11 17:15:41 +0200
commit47474716189b5f4375b7ffd7d65a9b6162c5ce72 (patch)
treee96d5002e8e23caacd20e263384e897dbab5685b /rc.d
parent945f93cadaeaf4970e28cb9995b2dca38e0fbb8c (diff)
downloadinitscripts-47474716189b5f4375b7ffd7d65a9b6162c5ce72.tar
initscripts-47474716189b5f4375b7ffd7d65a9b6162c5ce72.tar.gz
initscripts-47474716189b5f4375b7ffd7d65a9b6162c5ce72.tar.bz2
initscripts-47474716189b5f4375b7ffd7d65a9b6162c5ce72.tar.xz
initscripts-47474716189b5f4375b7ffd7d65a9b6162c5ce72.zip
network: tell NM to reload its configuration during start
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/network5
1 files changed, 5 insertions, 0 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 0c9b26d0..0f498f6f 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -61,6 +61,11 @@ case "$1" in
apply_sysctl
+ #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