diff options
Diffstat (limited to 'examples/var_service/zcip_if')
-rwxr-xr-x | examples/var_service/zcip_if/finish | 4 | ||||
-rwxr-xr-x | examples/var_service/zcip_if/zcip_handler | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/var_service/zcip_if/finish b/examples/var_service/zcip_if/finish index 95995cf5f..7955cf3b8 100755 --- a/examples/var_service/zcip_if/finish +++ b/examples/var_service/zcip_if/finish @@ -1,5 +1,5 @@ #!/bin/sh -# executed when service is taken down ("sv d .") +# executed when service is taken down service=${PWD##*/} file_ipconf="$service.ipconf" @@ -10,4 +10,4 @@ echo "Finish: deconfiguring" rm "env.out" rm "$file_ipconf" rm "$dir_ipconf/$file_ipconf" -sv u /var/service/fw +svc -u fw diff --git a/examples/var_service/zcip_if/zcip_handler b/examples/var_service/zcip_if/zcip_handler index 3c6ca788b..625450f7b 100755 --- a/examples/var_service/zcip_if/zcip_handler +++ b/examples/var_service/zcip_if/zcip_handler @@ -28,7 +28,7 @@ if test x"$1" != x"config"; then echo "Deconfiguring" rm "$file_ipconf" rm "$dir_ipconf/$file_ipconf" - sv u /var/service/fw + svc -u fw exit fi @@ -43,5 +43,5 @@ if test $? != 0; then echo "Reconfiguring fw" mkdir -p "$dir_ipconf" 2>/dev/null cp "$file_ipconf" "$dir_ipconf/$file_ipconf" - sv u /var/service/fw + svc -u fw fi |