blob: 7955cf3b8f941b4b8bf027ec0854b234c7a9cade [file] [log] [blame]
Denys Vlasenko4f8ecf22015-10-24 14:55:33 +02001#!/bin/sh
Denys Vlasenkoaa75a7d2018-07-03 17:02:50 +02002# executed when service is taken down
Denys Vlasenko4f8ecf22015-10-24 14:55:33 +02003
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"
Denys Vlasenkoaa75a7d2018-07-03 17:02:50 +020013svc -u fw