summaryrefslogtreecommitdiff
path: root/examples/var_service/zcip_if/finish
diff options
context:
space:
mode:
authorDenys Vlasenko2018-07-03 17:02:50 +0200
committerDenys Vlasenko2018-07-03 17:02:50 +0200
commitaa75a7da7f3b0bb50be82f535244137bae423fa8 (patch)
tree781df3664a0f5b29cb4a8b715c28ac75b4c1584c /examples/var_service/zcip_if/finish
parente5d5f5b9a770de5a48d1a3bd293d5d611d6624c4 (diff)
downloadbusybox-aa75a7da7f3b0bb50be82f535244137bae423fa8.zip
busybox-aa75a7da7f3b0bb50be82f535244137bae423fa8.tar.gz
examples/var_service/: use "svc" for service commands, other tweaks
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples/var_service/zcip_if/finish')
-rwxr-xr-xexamples/var_service/zcip_if/finish4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/var_service/zcip_if/finish b/examples/var_service/zcip_if/finish
index 95995cf..7955cf3 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