#!/bin/sh # # $FreeBSD$ # # PROVIDE: nscd # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf to enable nscd: # # nscd_enable="YES" # # See nscd(8) for flags # . /etc/rc.subr name="nscd" rcvar="nscd_enable" command=/usr/sbin/nscd extra_commands="flush" flush_cmd="${command} -I all" # usage: _nscd_set_option