From 4f8ecf273c4a239d007125f3b96a55100b661c04 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 24 Oct 2015 14:55:33 +0200 Subject: update network service examples Signed-off-by: Denys Vlasenko --- examples/var_service/dhcp_if_pinger/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/var_service/dhcp_if_pinger') 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" -- cgit v1.1