Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/nscd
| Show All 15 Lines | |||||
| # | # | ||||
| . /etc/rc.subr | . /etc/rc.subr | ||||
| name="nscd" | name="nscd" | ||||
| desc="Name-service caching daemon" | desc="Name-service caching daemon" | ||||
| rcvar="nscd_enable" | rcvar="nscd_enable" | ||||
| # no svcj options needed | |||||
| : ${nscd_svcj_options:=""} | |||||
| command=/usr/sbin/nscd | command=/usr/sbin/nscd | ||||
| extra_commands="flush" | extra_commands="flush" | ||||
| flush_cmd="${command} -I all" | flush_cmd="${command} -I all" | ||||
| # usage: _nscd_set_option <option name> <default value> | # usage: _nscd_set_option <option name> <default value> | ||||
| # | # | ||||
| _nscd_set_option() { | _nscd_set_option() { | ||||
| local _optname _defoptval _nscd_opt_val _cached_opt_val | local _optname _defoptval _nscd_opt_val _cached_opt_val | ||||
| Show All 22 Lines | |||||