blob: 4cf3de99b2564a1cb46fc639f0eb0beb267745c0 (
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: shutdown
#
# Add the following lines to /etc/rc.conf to enable kaid:
#
# kaid_enable="YES"
#
kaid_enable="${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"
|