blob: 7f6a13dfa1c602236762a974d32b680653f466be (
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"
#
# 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"}
idled_flags=${idled_flags:-""}
load_rc_config $name
run_rc_command "$1"
|