]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/rc.d/nscd
- Extend the nsswitch to support Services, Protocols and Rpc
[FreeBSD/FreeBSD.git] / etc / rc.d / nscd
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 # PROVIDE: cached
7 # REQUIRE: DAEMON
8 # BEFORE: LOGIN
9
10 #
11 # Add the following lines to /etc/rc.conf to enable cached:
12 #
13 # cached_enable="YES"
14 #
15 # See cached(8) for flags
16 #
17
18 . /etc/rc.subr
19
20 name=cached
21 rcvar=`set_rcvar`
22
23 command=/usr/sbin/cached
24
25 cached_enable=${cached_enable:-"NO"}
26 cached_pidfile=${cached_pidfile:-"/var/run/cached.pid"}
27 cached_flags=${cached_flags:-""}
28
29 load_rc_config $name
30 run_rc_command "$1"