ssm-services/init.d/network
fbt 2205f72a2e watchman -> ssm
Signed-off-by: fbt <fbt@fleshless.org>
2017-07-13 16:09:42 +03:00

11 lines
171 B
Plaintext
Executable File

#!/usr/bin/env ssm
service_type='oneshot'
service_command=( /usr/bin/znet -d up )
ifaces=( 'eth0' 'warp' )
pre_stop() {
"$service_command" "${service_args[@]}" down
}