aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-02-13 15:47:07 +0100
committerLukas Nykryn <lnykryn@redhat.com>2014-02-13 15:47:07 +0100
commita48ecedc117a9203f92ccd358e4a5ff31ddb43b1 (patch)
tree91bfde9939c117f75f6a8987e85cdbb050283591 /sysconfig
parent91be992ff55852d0ca8127ac096ef01d4ef055db (diff)
downloadinitscripts-a48ecedc117a9203f92ccd358e4a5ff31ddb43b1.tar
initscripts-a48ecedc117a9203f92ccd358e4a5ff31ddb43b1.tar.gz
initscripts-a48ecedc117a9203f92ccd358e4a5ff31ddb43b1.tar.bz2
initscripts-a48ecedc117a9203f92ccd358e4a5ff31ddb43b1.tar.xz
initscripts-a48ecedc117a9203f92ccd358e4a5ff31ddb43b1.zip
update ifup/ifdown NetworkManager interaction once more(#1036701, #1061810)
Diffstat (limited to 'sysconfig')
-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