#! /bin/sh #---------------------------------------------------------------------------- # /etc/init.d/sudo - sudo initialization # # Creation: 19.07.2003 fm # Last Update: 20.07.2003 fm # # Copyright (c) 2003 Frank Meyer # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #---------------------------------------------------------------------------- set -e case "$1" in start) # make sure privileges don't persist across reboots if [ -d /var/run/sudo ] then touch -t 198501010000 /var/run/sudo/* fi ;; stop|reload|restart|force-reload) ;; *) echo "Usage: /etc/init.d/sudo {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0