1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/sh # PROVIDE: htshd # REQUIRE: DAEMON # BEFORE: LOGIN . /etc/rc.subr name="htshd" rcvar=htshd_enable load_rc_config $name htshd_enable=${htshd_enable:-"NO"} command="%%PREFIX%%/sbin/htshd" required_files="%%PREFIX%%/etc/wapsh/htshd.conf" run_rc_command "$1"