From aebe90bc18a5296273820e8e17b854946ab63885 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Tue, 16 Sep 2014 15:54:39 +0200 Subject: ifup: if we were unable to determine DEVICE always call nmcli up --- sysconfig/network-scripts/ifup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/ifup') 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 -- cgit v1.2.1