1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-11-22 19:19:47 +01:00
init/services/ifdown.in
David Oberhollenzer 258848ace2 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>
2018-07-17 18:02:46 +02:00

7 lines
No EOL
125 B
Text

description "stop all network interfaces"
type wait
target %0
after sigkill sigterm
before sync
exec "@SCRIPTDIR@/ifdown.sh"