Sindbad~EG File Manager

Current Path : /var/tmp/mergemaster/preserved-files-170206-102132/etc/rc.d/
Upload File :
Current File : //var/tmp/mergemaster/preserved-files-170206-102132/etc/rc.d/hastd

#!/bin/sh
#
# $FreeBSD: releng/9.2/etc/rc.d/hastd 231653 2012-02-14 10:16:56Z dougb $
#

# PROVIDE: hastd
# REQUIRE: NETWORKING syslogd
# BEFORE:  DAEMON
# KEYWORD: nojail shutdown

. /etc/rc.subr

name="hastd"
rcvar="hastd_enable"
pidfile="/var/run/${name}.pid"
command="/sbin/${name}"
hastctl="/sbin/hastctl"
required_files="/etc/hast.conf"
stop_precmd="hastd_stop_precmd"
required_modules="geom_gate:g_gate"
extra_commands="reload"

hastd_stop_precmd()
{
	${hastctl} role init all
}

load_rc_config $name
run_rc_command "$1"

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists