diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2017-01-17 18:08:33 +0100 |
---|---|---|
committer | Dee'Kej <deekej@linuxmail.org> | 2017-01-18 12:54:19 +0100 |
commit | a8e6d7327e8e481fca3fb38dbe0e32ebc75c63d9 (patch) | |
tree | f198bcd7c020e99c41d844f25412ba9b94e09515 | |
parent | a2d7e7e965b628b275d042da65eab9acd4e3194f (diff) | |
download | initscripts-a8e6d7327e8e481fca3fb38dbe0e32ebc75c63d9.tar initscripts-a8e6d7327e8e481fca3fb38dbe0e32ebc75c63d9.tar.gz initscripts-a8e6d7327e8e481fca3fb38dbe0e32ebc75c63d9.tar.bz2 initscripts-a8e6d7327e8e481fca3fb38dbe0e32ebc75c63d9.tar.xz initscripts-a8e6d7327e8e481fca3fb38dbe0e32ebc75c63d9.zip |
ifup-aliases: we want to call the arping
It looks that during backport $() was replaced with ""
Resolves: RHBZ#1413976
-rwxr-xr-x | sysconfig/network-scripts/ifup-aliases | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases index 3af1ec88..2e21e6de 100755 --- a/sysconfig/network-scripts/ifup-aliases +++ b/sysconfig/network-scripts/ifup-aliases @@ -264,7 +264,7 @@ function new_interface () ( grep -qswi "up" /sys/class/net/${parent_device}/operstate || grep -qswi "1" /sys/class/net/${parent_device}/carrier ) ; then echo $"Determining if ip address ${IPADDR} is already in use for device ${parent_device}..." - ARPING="/sbin/arping -q -c 2 -w ${ARPING_WAIT:-3} -D -I ${parent_device} ${IPADDR}" + ARPING=$(/sbin/arping -q -c 2 -w ${ARPING_WAIT:-3} -D -I ${parent_device} ${IPADDR}) if [ $? = 1 ]; then ARPINGMAC=$(echo $ARPING | sed -ne 's/.*\[\(.*\)\].*/\1/p') |