blob: f9eab3896c1c906fd75b7a14de64c79fc4c69875 (
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
|
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: idled
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable idled:
#
# idled_enable="YES"
# idled_flags="<set as needed>"
#
# See idled(8) for flags
#
. %%RC_SUBR%%
name=idled
rcvar=`set_rcvar`
command=%%PREFIX%%/libexec/idled
required_files=%%PREFIX%%/etc/idled.cf
# set defaults
idled_enable=${idled_enable:-"NO"}
load_rc_config $name
run_rc_command "$1"
|