diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2014-02-13 15:47:07 +0100 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2014-02-13 15:47:07 +0100 |
commit | a48ecedc117a9203f92ccd358e4a5ff31ddb43b1 (patch) | |
tree | 91bfde9939c117f75f6a8987e85cdbb050283591 /sysconfig | |
parent | 91be992ff55852d0ca8127ac096ef01d4ef055db (diff) | |
download | initscripts-a48ecedc117a9203f92ccd358e4a5ff31ddb43b1.tar initscripts-a48ecedc117a9203f92ccd358e4a5ff31ddb43b1.tar.gz initscripts-a48ecedc117a9203f92ccd358e4a5ff31ddb43b1.tar.bz2 initscripts-a48ecedc117a9203f92ccd358e4a5ff31ddb43b1.tar.xz initscripts-a48ecedc117a9203f92ccd358e4a5ff31ddb43b1.zip |
Diffstat (limited to 'sysconfig')
-rwxr-xr-x | sysconfig/network-scripts/ifdown | 2 |
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 |