freebsd-ports/shells/wapsh/files/htshd.sh.in
Edwin Groothuis 000de2cf3b shells/wapsh - update, make fetchable, take maintainership
- Upgrade to latest version (make fetchable again)
	- Add WWW line and more supported phones to pkg-descr
	- Single PLIST file addition
	- Replace rc.d script with new rc.subr-style
	- Install in more appropriate place
	- Take maintainership

PR:		ports/94243
Submitted by:	Shaun Amott <shaun@inerd.com>
2006-04-06 00:34:34 +00:00

18 lines
270 B
Bash

#!/bin/sh
# PROVIDE: htshd
# REQUIRE: DAEMON
# BEFORE: LOGIN
. %%RC_SUBR%%
name="htshd"
rcvar=`set_rcvar`
load_rc_config $name
htshd_enable=${htshd_enable:-"NO"}
command="%%PREFIX%%/sbin/htshd"
required_files="%%PREFIX%%/etc/wapsh/htshd.conf"
run_rc_command "$1"