diff options
Diffstat (limited to 'net-scripts/net.modules.d/netplugd')
-rw-r--r-- | net-scripts/net.modules.d/netplugd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net-scripts/net.modules.d/netplugd b/net-scripts/net.modules.d/netplugd index 8903292..60bf47a 100644 --- a/net-scripts/net.modules.d/netplugd +++ b/net-scripts/net.modules.d/netplugd @@ -85,7 +85,8 @@ netplugd_pre_start() { eindent - eval timeout=\"\$\{plug_timeout_${ifvar}\:--1}\" + timeout="plug_timeout_${ifvar}" + timeout="${!timeout:--1}" if [[ ${timeout} == "0" ]]; then ewarn "WARNING: infinite timeout set for ${iface} to come up" elif [[ ${timeout} -lt 0 ]]; then |