Last change
on this file since 3621 was 3621, checked in by Bruno Cornec, 7 years ago |
New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.
|
-
Property svn:executable
set to
*
|
File size:
424 bytes
|
Rev | Line | |
---|
[3621] | 1 | #!/bin/sh
|
---|
| 2 | # executed when service is taken down ("sv d .")
|
---|
| 3 |
|
---|
| 4 | service=${PWD##*/}
|
---|
| 5 | file_ipconf="$service.ipconf"
|
---|
| 6 | file_ntpconf="$service.ntpconf"
|
---|
| 7 | dir_ipconf="/var/run/service/fw"
|
---|
| 8 | dir_ntpconf="/var/run/service/ntpd"
|
---|
| 9 |
|
---|
| 10 | # Reconfigure network with this interface disabled
|
---|
| 11 | echo "Finish: deconfiguring"
|
---|
| 12 | rm "env.out"
|
---|
| 13 | rm "$file_ipconf"
|
---|
| 14 | rm "$file_ntpconf"
|
---|
| 15 | rm "$dir_ipconf/$file_ipconf"
|
---|
| 16 | rm "$dir_ntpconf/$file_ntpconf"
|
---|
| 17 | sv u /var/service/fw
|
---|
Note:
See
TracBrowser
for help on using the repository browser.