aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-02-12 14:46:12 +0100
committerLukas Nykryn <lnykryn@redhat.com>2014-02-13 14:37:01 +0100
commit032eeb4dd68bbacd78c677de37cc8a1642ec67ab (patch)
treeff5b47b0c75671732bf3224ff53721a7b67cde56 /sysconfig/network-scripts/ifdown
parent8e8c8d062d5dbf29235def1caecf30a26d4859c1 (diff)
downloadinitscripts-032eeb4dd68bbacd78c677de37cc8a1642ec67ab.tar
initscripts-032eeb4dd68bbacd78c677de37cc8a1642ec67ab.tar.gz
initscripts-032eeb4dd68bbacd78c677de37cc8a1642ec67ab.tar.bz2
initscripts-032eeb4dd68bbacd78c677de37cc8a1642ec67ab.tar.xz
initscripts-032eeb4dd68bbacd78c677de37cc8a1642ec67ab.zip
update ifup/ifdown NetworkManager interaction (#1036701, #1061810)
Diffstat (limited to 'sysconfig/network-scripts/ifdown')
-rwxr-xr-xsysconfig/network-scripts/ifdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index 510b5bcf..9686764e 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -43,7 +43,7 @@ fi
if [ "$_use_nm" = "true" ]; then
if [ -n "$UUID" -a -z "$DEVICE" ]; then
- DEVICE=$(nmcli -t --fields uuid,devices con show active | awk -F ':' "\$1 == \"$UUID\" { print \$2 }")
+ DEVICE=$(nmcli -t --fields uuid,devices con show --active | awk -F ':' "\$1 == \"$UUID\" { print \$2 }")
fi
if [ -n "$DEVICE" ] && ! is_nm_device_unmanaged "$DEVICE" ; then
if ! LC_ALL=C nmcli -t -f STATE,DEVICE dev status | egrep -q "^(failed|disconnected|unmanaged|unavailable):$DEVICE$"; then