aboutsummaryrefslogtreecommitdiff
path: root/examples/var_service/dhcp_if/run
diff options
context:
space:
mode:
Diffstat (limited to 'examples/var_service/dhcp_if/run')
-rwxr-xr-xexamples/var_service/dhcp_if/run4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/var_service/dhcp_if/run b/examples/var_service/dhcp_if/run
index aec79e027..d8f343586 100755
--- a/examples/var_service/dhcp_if/run
+++ b/examples/var_service/dhcp_if/run
@@ -8,9 +8,9 @@ pwd="$PWD"
if="${PWD##*/dhcp_}"
echo "* Upping iface $if"
-ip link set dev "$if" up
+ip link set dev "$if" up || { sleep 5; exit; }
-echo "* Starting udhcpc"
+echo "* Starting udhcpc on $if [$$]"
exec \
env - PATH="$PATH" \
softlimit \