aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2013-03-14 11:34:45 +0100
committerLukas Nykryn <lnykryn@redhat.com>2013-03-14 11:34:45 +0100
commit5a2058771f3add88cf48033c1e24aa0e5d6efa5c (patch)
tree7a0b7bb0a1066817438f3d794ab3413e3bc3a14f /sysconfig/network-scripts
parent56b0d908a1ca577d727a83c4ea032a60ef5ced66 (diff)
downloadinitscripts-5a2058771f3add88cf48033c1e24aa0e5d6efa5c.tar
initscripts-5a2058771f3add88cf48033c1e24aa0e5d6efa5c.tar.gz
initscripts-5a2058771f3add88cf48033c1e24aa0e5d6efa5c.tar.bz2
initscripts-5a2058771f3add88cf48033c1e24aa0e5d6efa5c.tar.xz
initscripts-5a2058771f3add88cf48033c1e24aa0e5d6efa5c.zip
skip nmcli for wireless device (#863707)
When NetworkMangaer is running and Wireless connection is handled by it, skip calling nmcli for this connection on boot.
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifup3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index f931dd8f..dc9ff18a 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -66,6 +66,9 @@ then
fi
if [ "$_use_nm" = "true" -a -n "$UUID" ]; then
+ if [ "foo$2" = "fooboot" ] && [ "${TYPE}" = "Wireless" ]; then
+ exit 0
+ fi
nmcli con up uuid "$UUID"
exit $?
fi