diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2013-03-14 11:34:45 +0100 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2013-03-14 11:34:45 +0100 |
commit | 5a2058771f3add88cf48033c1e24aa0e5d6efa5c (patch) | |
tree | 7a0b7bb0a1066817438f3d794ab3413e3bc3a14f /sysconfig | |
parent | 56b0d908a1ca577d727a83c4ea032a60ef5ced66 (diff) | |
download | initscripts-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')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 3 |
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 |