SHARE
TWEET

nss-ldapd.install

benja_kern Jul 26th, 2012 29 Never
  1. post_install() {
  2.   getent passwd nslcd >> /dev/null || useradd -r -M -d /var/run/nslcd -s /bin/false nslcd
  3. }
  4.  
  5. post_upgrade() {
  6.   getent passwd nslcd >> /dev/null || useradd -r -M -s /bin/false nslcd
  7. }
  8.  
  9. pre_remove() {
  10.   userdel nslcd >/dev/null 2>&1 || true
  11. }
RAW Paste Data
Top