aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-03-19 10:16:53 +0100
committerLukas Nykryn <lnykryn@redhat.com>2014-03-19 13:34:53 +0100
commit57d2147d3956a4a5d0a11a82a561e8e34c963ffd (patch)
treef48515aeef363d6f0f277df59844c685931780e3
parente80b1837bbc523eb5396e4673823ace81310cbd2 (diff)
downloadinitscripts-57d2147d3956a4a5d0a11a82a561e8e34c963ffd.tar
initscripts-57d2147d3956a4a5d0a11a82a561e8e34c963ffd.tar.gz
initscripts-57d2147d3956a4a5d0a11a82a561e8e34c963ffd.tar.bz2
initscripts-57d2147d3956a4a5d0a11a82a561e8e34c963ffd.tar.xz
initscripts-57d2147d3956a4a5d0a11a82a561e8e34c963ffd.zip
ifup: add possibility to specify value for -w parameter of arping
Conflicts: sysconfig/network-scripts/ifup-aliases sysconfig/network-scripts/ifup-eth
-rwxr-xr-xsysconfig/network-scripts/ifup-eth2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index 5794005b..2d2c5267 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -264,7 +264,7 @@ else
fi
if ! LC_ALL=C ip addr ls ${REALDEVICE} | LC_ALL=C grep -q "${IPADDR}/${PREFIX}" ; then
- if ! arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR} ; then
+ if ! arping -q -c 2 -w ${ARPING_WAIT:-3} -D -I ${REALDEVICE} ${IPADDR} ; then
net_log $"Error, some other host already uses address ${IPADDR}."
exit 1
fi