File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / sudo / init.d / aix.sh.in
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Sun Jun 15 16:12:54 2014 UTC (10 years, 1 month ago) by misho
Branches: sudo, MAIN
CVS tags: v1_8_10p3_0, v1_8_10p3, HEAD
sudo v 1.8.10p3

    1: #!/bin/sh
    2: #
    3: # Simple AIX rc.d script to remove the sudo timestamp directory on boot.
    4: # This is needed because AIX does not have /var/run.
    5: # Install as /etc/rc.d/init.d/sudo with a link /etc/rc.d/rc2.d/S90sudo
    6: #
    7: 
    8: PATH=/usr/sbin:/usr/bin:/sbin
    9: export PATH
   10: 
   11: TSDIR="@rundir@/ts"
   12: rval=0
   13: 
   14: case "$1" in
   15: start)
   16:     echo "Removing the $TSDIR directory"
   17:     rm -rf "$TSDIR"
   18:     ;;
   19: *)
   20:     echo "usage: $0 start"
   21:     rval=1
   22:     ;;
   23: esac
   24: 
   25: exit $rval

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>