#!/bin/bash
#
. ${TOOLKIT}-functions.sh

$SOMETHING_CHANGED || exit 0


update-rc.d ku-disable-nss-ldap defaults
update-rc.d ku-enable-nss-ldap defaults

##add_init_script 23 "ku-disable-nss-ldap" S	|| exit $? # runlevel S!
##add_init_script 21 "ku-enable-nss-ldap"		|| exit $? # alla fine runlevels 2 3 4 5

#sh /etc/init.d/ku-enable-nss-ldap start

/etc/init.d/kuwatcher stop
sleep 2
/etc/init.d/kuwatcher start

exit 0
