Added boot script examples

This commit is contained in:
Bjango
2016-10-24 18:33:24 +11:00
parent 63e8613616
commit 0818cce407
6 changed files with 51 additions and 3 deletions

16
resource/rc.d/istatserver Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
#
# PROVIDE: istatserver
# REQUIRE: FILESYSTEMS NETWORKING netif
# KEYWORD: shutdown
. /etc/rc.subr
name="istatserver"
command="/usr/local/bin/istatserver"
rcvar="istatserver_enable"
command_args="-d"
load_rc_config $name
run_rc_command "$1"