summaryrefslogtreecommitdiff
path: root/games/kaid/files/kaid.sh
blob: d08dfabb017d2276a7ab5b6450d60a0160d4351a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
#
# $FreeBSD$
#

# PROVIDE: kaid
# REQUIRE: NETWORKING
# KEYWORD: FreeBSD shutdown

#
# Add the following lines to /etc/rc.conf to enable  kaid:
#
# kaid_enable="YES"
#
kaid_enable="NO"

. /etc/rc.subr

name=kaid
rcvar=`set_rcvar`

command=/usr/local/sbin/${name}
command_args=-d
required_files=/usr/local/etc/kaid.conf

load_rc_config ${name}
run_rc_command "$1"