repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
busybox: update to 1.25.0
[tomato.git]
/
release
/
src
/
router
/
busybox
/
examples
/
var_service
/
zcip_if
/
finish
blob
95995cf5f1c9fe93783b4270dab8ded5f321ac4d
1
#!/bin/sh
2
# executed when service is taken down ("sv d .")
3
4
service
=
${PWD##*/}
5
file_ipconf
=
"
$service
.ipconf"
6
dir_ipconf
=
"/var/run/service/fw"
7
8
# Reconfigure network with this interface disabled
9
echo
"Finish: deconfiguring"
10
rm
"env.out"
11
rm
"
$file_ipconf
"
12
rm
"
$dir_ipconf
/
$file_ipconf
"
13
sv u
/
var
/
service
/
fw