#!/bin/sh # # $FreeBSD: src/etc/rc.d/nscd,v 1.7 2008/07/16 19:50:29 dougb Exp $ # # 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=`set_rcvar` command=/usr/sbin/nscd extra_commands="flush" flush_cmd="${command} -I all" # usage: _nscd_set_option