summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/nscd
blob: 0376b58eed21b3bd5983b686191621e84f2c482a (plain)
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
#!/bin/sh
#
# $FreeBSD$
#

# PROVIDE: cached
# REQUIRE: DAEMON
# BEFORE: LOGIN

#
# Add the following lines to /etc/rc.conf to enable cached:
#
# cached_enable="YES"
#
# See cached(8) for flags
#

. /etc/rc.subr

name=cached
rcvar=`set_rcvar`

command=/usr/sbin/cached

cached_enable=${cached_enable:-"NO"}
cached_pidfile=${cached_pidfile:-"/var/run/cached.pid"}
cached_flags=${cached_flags:-""}

load_rc_config $name
run_rc_command "$1"
OpenPOWER on IntegriCloud