blob: 47a864d79d3d606deed371071b68aa75cf5c7c54 (
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
28
29
30
31
32
33
34
35
|
#!/bin/sh
#
# $FreeBSD$
#
# $Id: healthd.sh,v 1.1.2.7 2004/06/23 14:11:57 housley Exp $
# PROVIDE: healthd
# REQUIRE: LOGIN
# KEYWORD: shutdown
# Add the following line to /etc/rc.conf to enable healthd:
#
#healthd_enable="YES"
#
# For IPv4 only operation add the following line to /etc/rc.conf:
#
#healthd_flags="-6"
#
# Other options are listed in healthd(8)
#
. /etc/rc.subr
name=healthd
rcvar=`set_rcvar`
extra_commands="reload"
command=%%PREFIX%%/sbin/healthd
required_files=%%PREFIX%%/etc/${name}.conf
load_rc_config ${name}
healthd_enable=${healthd_enable:-"NO"}
run_rc_command "$1"
|