]> git.gag.com Git - debian/sudo/blob - debian/sudo.sudo.init
Merge commit 'upstream/1.7.0'
[debian/sudo] / debian / sudo.sudo.init
1 #! /bin/sh
2
3 ### BEGIN INIT INFO
4 # Provides:          sudo
5 # Required-Start:    $local_fs $remote_fs
6 # Required-Stop:
7 # Default-Start:     S 
8 # Default-Stop:
9 ### END INIT INFO
10
11 N=/etc/init.d/sudo
12
13 set -e
14
15 case "$1" in
16   start)
17         # make sure privileges don't persist across reboots
18         if [ -d /var/run/sudo ]
19         then
20                 find /var/run/sudo -exec touch -t 198501010000 '{}' \;
21         fi
22         ;;
23   stop|reload|restart|force-reload)
24         ;;
25   *)
26         echo "Usage: $N {start|stop|restart|force-reload}" >&2
27         exit 1
28         ;;
29 esac
30
31 exit 0