aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-04-02 17:29:09 +0200
committerLukas Nykryn <lnykryn@redhat.com>2014-10-07 14:18:54 +0200
commit1cd862a337f4725c53f735f0d4e82a7d49774d9c (patch)
tree08fc665e3bf3f64896b72dd3aa493be02b9d9da3 /sysconfig/network-scripts/ifup
parent23eb694a61d155a0b5ce4403e1e0d8dc70653e76 (diff)
downloadinitscripts-1cd862a337f4725c53f735f0d4e82a7d49774d9c.tar
initscripts-1cd862a337f4725c53f735f0d4e82a7d49774d9c.tar.gz
initscripts-1cd862a337f4725c53f735f0d4e82a7d49774d9c.tar.bz2
initscripts-1cd862a337f4725c53f735f0d4e82a7d49774d9c.tar.xz
initscripts-1cd862a337f4725c53f735f0d4e82a7d49774d9c.zip
add configurable DEVTIMEOUT
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 1d5a9e63..f2a1c8f9 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -106,7 +106,7 @@ if [ "${VLAN}" = "yes" ] && [ "$ISALIAS" = "no" ] && [ -n $DEVICE ]; then
fi
fi
- is_available ${PHYSDEV} || {
+ is_available_wait ${PHYSDEV} ${DEVTIMEOUT} || {
if [ "$?" = "1" ] ; then
net_log $"$alias device ${DEVICE} does not seem to be present, delaying initialization."
exit 1