From cbf01851cc61747b6178ad3ce4868224a14501d9 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 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 -- cgit v1.2.1