forked from Spark/ssm-services
10
init.d/network
Executable file
10
init.d/network
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env ssm
|
||||
|
||||
service_type='oneshot'
|
||||
service_command=( /usr/bin/znet -d up )
|
||||
|
||||
ifaces=( 'eth0' 'warp' )
|
||||
|
||||
pre_stop() {
|
||||
"$service_command" "${service_args[@]}" down
|
||||
}
|
Reference in New Issue
Block a user