summaryrefslogtreecommitdiff
path: root/net/netplugd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/netplugd.sh')
-rw-r--r--net/netplugd.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/netplugd.sh b/net/netplugd.sh
index 8f36ef2..23b6d9e 100644
--- a/net/netplugd.sh
+++ b/net/netplugd.sh
@@ -53,7 +53,9 @@ netplugd_pre_start()
eindent
+ # IFACE-specific, then global, then default
eval timeout=\$plug_timeout_${IFVAR}
+ [ -z "${timeout}" ] && timeout=$plug_timeout
[ -z "${timeout}" ] && timeout=-1
if [ ${timeout} -eq 0 ]; then
ewarn "WARNING: infinite timeout set for ${IFACE} to come up"