From 5a2058771f3add88cf48033c1e24aa0e5d6efa5c Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Thu, 14 Mar 2013 11:34:45 +0100 Subject: 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. --- sysconfig/network-scripts/ifup | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysconfig') 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 -- cgit v1.2.1