mirror of
https://github.com/pygos/init.git
synced 2024-11-16 08:47:10 +01:00
258848ace2
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>
7 lines
No EOL
125 B
Text
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" |