diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-07-17 18:02:46 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-07-17 18:02:46 +0200 |
commit | 258848ace2bcecf1ae6c3b7b433805b18fbd37d0 (patch) | |
tree | 2cfd5f1e3b72f4c15e2e7edbc8ba811f546201ff /services/ifdown.in | |
parent | 7097830f8fcb22ac7c17be6f3cfe25cda7ae810b (diff) |
Add ifdown service
Add a service file and helper script to shut down all network interfaces
during shutdown or reboot.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'services/ifdown.in')
-rw-r--r-- | services/ifdown.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/services/ifdown.in b/services/ifdown.in new file mode 100644 index 0000000..1310098 --- /dev/null +++ b/services/ifdown.in @@ -0,0 +1,7 @@ +description "stop all network interfaces" +type wait +target %0 +after sigkill sigterm +before sync + +exec "@SCRIPTDIR@/ifdown.sh"
\ No newline at end of file |