#! /bin/sh
### BEGIN INIT INFO
-# Provides: sudo
+# Provides: sudo-ldap
# Required-Start: $local_fs $remote_fs
# Required-Stop:
-# Default-Start: S
+# X-Start-Before: rmnologin
+# Default-Start: 2 3 4 5
# Default-Stop:
### END INIT INFO
case "$1" in
start)
# make sure privileges don't persist across reboots
- if [ -d /var/run/sudo ]
+ if [ -d /var/lib/sudo ]
then
- find /var/run/sudo -exec touch -t 198501010000 '{}' \;
+ find /var/lib/sudo -exec touch -t 198501010000 '{}' \;
fi
;;
stop|reload|restart|force-reload)