init scripts from rhubarb-pi.sf.net
This commit is contained in:
11
cde/contrib/rc/openbsd/cmsd
Executable file
11
cde/contrib/rc/openbsd/cmsd
Executable file
@@ -0,0 +1,11 @@
|
||||
daemon="/usr/dt/bin/rpc.cmsd &"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
pexp="rpc.cmsd: ${daemon}${daemon_flags:+ ${daemon_flags}} \[listener\].*"
|
||||
|
||||
rc_reload() {
|
||||
${daemon} ${daemon_flags} -t && pkill -HUP -xf "${pexp}"
|
||||
}
|
||||
|
||||
rc_cmd $1
|
||||
Reference in New Issue
Block a user