summaryrefslogtreecommitdiff
path: root/examples/var_service/dhcp_if_pinger
diff options
context:
space:
mode:
Diffstat (limited to 'examples/var_service/dhcp_if_pinger')
-rwxr-xr-xexamples/var_service/dhcp_if_pinger/run4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/var_service/dhcp_if_pinger/run b/examples/var_service/dhcp_if_pinger/run
index 1868510..e0e87a1 100755
--- a/examples/var_service/dhcp_if_pinger/run
+++ b/examples/var_service/dhcp_if_pinger/run
@@ -21,9 +21,9 @@ if test -f "$0.log"; then
mv "$0.log.new" "$0.log"
fi
-test -f "/var/service/dhcp_$if/dhcp_$if.out" || exec env - sleep "$ping_time"
+test -f "/var/service/dhcp_$if/env.out" || exec env - sleep "$ping_time"
-. "/var/service/dhcp_$if/dhcp_$if.out"
+. "/var/service/dhcp_$if/env.out"
test x"$router" != x"" || exec env - sleep "$ping_time"
#msg "Pinging $router"