diff options
author | Timur I. Bakeyev <timur@FreeBSD.org> | 2009-08-14 01:46:44 +0000 |
---|---|---|
committer | Timur I. Bakeyev <timur@FreeBSD.org> | 2009-08-14 01:46:44 +0000 |
commit | 1e8839e521a8685890858271f59da53554340ae8 (patch) | |
tree | f694184cfb4b93752b8ae55a789e53698c7901b8 /net/nss_ldapd/files/nslcd.in | |
parent | - Drop scintilla support, as scintilla no longer supports gtk12 (diff) |
Advanced fork of nss_ldap module with standalone daemon.
PR: 137349
Submitted by: melifaro@ipfw.ru
Diffstat (limited to 'net/nss_ldapd/files/nslcd.in')
-rw-r--r-- | net/nss_ldapd/files/nslcd.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net/nss_ldapd/files/nslcd.in b/net/nss_ldapd/files/nslcd.in new file mode 100644 index 000000000000..bf7623d11854 --- /dev/null +++ b/net/nss_ldapd/files/nslcd.in @@ -0,0 +1,24 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: nslcd +# REQUIRE: DAEMON ldconfig resolv +# +# Add the following line to /etc/rc.conf to enable the nslcd daemon: +# +# nslcd_enable="YES" +# + +nslcd_enable=${nslcd_enable-"NO"} + +. %%RC_SUBR%% + +name=nslcd +rcvar=$(set_rcvar) + +command="%%PREFIX%%/sbin/%{name}" +pidfile="/var/run/${name}.pid" + +load_rc_config ${name} +run_rc_command "$1" |