aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-02-13 15:47:07 +0100
committerLukas Nykryn <lnykryn@redhat.com>2014-03-03 15:43:32 +0100
commit7e48a9c7ed61bcfec8e6b11dfb5bef336daba1bb (patch)
tree8ecad6ae9a6a011ad7d65837f0c605d17d73fc58 /sysconfig/network-scripts/ifdown
parent918a5170e64a9766b443d3a65f9b6bcf65f1e60a (diff)
downloadinitscripts-7e48a9c7ed61bcfec8e6b11dfb5bef336daba1bb.tar
initscripts-7e48a9c7ed61bcfec8e6b11dfb5bef336daba1bb.tar.gz
initscripts-7e48a9c7ed61bcfec8e6b11dfb5bef336daba1bb.tar.bz2
initscripts-7e48a9c7ed61bcfec8e6b11dfb5bef336daba1bb.tar.xz
initscripts-7e48a9c7ed61bcfec8e6b11dfb5bef336daba1bb.zip
update ifup/ifdown NetworkManager interaction once more(#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 9686764e..8cb82880 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,device 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