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:54:39 +0200
commitcbf01851cc61747b6178ad3ce4868224a14501d9 (patch)
tree777ef7df1b57d295eccc9f43991ff9fb4d3065c4 /sysconfig/network-scripts
parent06efb275921261036cc5cc62c4637932fa7c8ec9 (diff)
downloadinitscripts-cbf01851cc61747b6178ad3ce4868224a14501d9.tar
initscripts-cbf01851cc61747b6178ad3ce4868224a14501d9.tar.gz
initscripts-cbf01851cc61747b6178ad3ce4868224a14501d9.tar.bz2
initscripts-cbf01851cc61747b6178ad3ce4868224a14501d9.tar.xz
initscripts-cbf01851cc61747b6178ad3ce4868224a14501d9.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 072b03f6..1d5a9e63 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