added a first version of rc script for freebsd

This commit is contained in:
laurentu 2023-08-17 15:46:01 +02:00
parent d18839d64d
commit 1a514d3b82
1 changed files with 11 additions and 0 deletions

11
hostchecker.rc Normal file
View 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"