ssm-services/init.d/znet

11 lines
171 B
Plaintext
Raw Normal View History

#!/usr/bin/env ssm
2015-01-27 07:16:07 +00:00
service_type='oneshot'
service_command=( /usr/bin/znet -d up )
2015-01-27 07:16:07 +00:00
ifaces=( 'eth0' 'warp' )
pre_stop() {
"$service_command" "${service_args[@]}" down
2015-01-27 07:16:07 +00:00
}