source: MondoRescue/branches/3.3/mindi-busybox/examples/var_service/zcip_if/finish@ 3621

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: 305 bytes
Line 
1#!/bin/sh
2# executed when service is taken down ("sv d .")
3
4service=${PWD##*/}
5file_ipconf="$service.ipconf"
6dir_ipconf="/var/run/service/fw"
7
8# Reconfigure network with this interface disabled
9echo "Finish: deconfiguring"
10rm "env.out"
11rm "$file_ipconf"
12rm "$dir_ipconf/$file_ipconf"
13sv u /var/service/fw
Note: See TracBrowser for help on using the repository browser.