diff options
Diffstat (limited to 'package/openldap/ipkg/openldap-slapd.postinst')
-rw-r--r-- | package/openldap/ipkg/openldap-slapd.postinst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/openldap/ipkg/openldap-slapd.postinst b/package/openldap/ipkg/openldap-slapd.postinst new file mode 100644 index 000000000..d6ecee377 --- /dev/null +++ b/package/openldap/ipkg/openldap-slapd.postinst @@ -0,0 +1,5 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +add_user slapd $(get_next_uid) $(get_next_gid) /var/run/slapd +add_group slapd $(get_next_gid) +add_rcconf 'use "YES" to enable' slapd NO |