added a first version of rc script for freebsd
This commit is contained in:
11
hostchecker.rc
Normal file
11
hostchecker.rc
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=hostchecker
|
||||
rcvar=hostchecker_enable
|
||||
|
||||
command="/usr/local/bin/${name}"
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
Reference in New Issue
Block a user