init
This commit is contained in:
11
init.d/rc.local
Executable file
11
init.d/rc.local
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env watchman
|
||||
|
||||
service_type='oneshot'
|
||||
service_command="$BASH"
|
||||
service_args='/etc/rc.local'
|
||||
|
||||
unset stop
|
||||
|
||||
start() {
|
||||
[[ -f "/etc/rc.local" ]] && { watchman.start; }
|
||||
}
|
Reference in New Issue
Block a user