diff options
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 0e69b72a..18dad676 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -68,9 +68,13 @@ then exit 0 fi -if [ "$_use_nm" = "true" -a -n "$UUID" ]; then - nmcli con up uuid "$UUID" - exit $? +if [ "$_use_nm" = "true" ]; then + if [ -n "$UUID" ]; then + nmcli con up uuid "$UUID" + exit $? + fi + echo $"$0: interface ${CONFIG} is controlled by NetworkManager; skipping." >&2 + exit 0 fi # Ethernet 802.1Q VLAN support |