aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-09-16 15:54:39 +0200
committerLukas Nykryn <lnykryn@redhat.com>2014-09-16 15:55:18 +0200
commitaebe90bc18a5296273820e8e17b854946ab63885 (patch)
tree1394cc8141b2cb3ed593e816cb49f9bf2d35ba0d /sysconfig/network-scripts
parent692fe6ad64ad126eb18bda3970eaf5c0c1eb3e2c (diff)
downloadinitscripts-aebe90bc18a5296273820e8e17b854946ab63885.tar
initscripts-aebe90bc18a5296273820e8e17b854946ab63885.tar.gz
initscripts-aebe90bc18a5296273820e8e17b854946ab63885.tar.bz2
initscripts-aebe90bc18a5296273820e8e17b854946ab63885.tar.xz
initscripts-aebe90bc18a5296273820e8e17b854946ab63885.zip
ifup: if we were unable to determine DEVICE always call nmcli up
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifup2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index d68c1d12..f2a1c8f9 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -69,7 +69,7 @@ if [ "$_use_nm" = "true" -a -n "$UUID" ]; then
if [ "foo$2" = "fooboot" ] && [ "${TYPE}" = "Wireless" ]; then
exit 0
fi
- is_nm_handling ${DEVICE} && exit 0
+ [ -n "${DEVICE}" ] && is_nm_handling ${DEVICE} && exit 0
nmcli con up uuid "$UUID"
exit $?
fi