Annotation of embedaddon/sudo/init.d/aix.sh.in, revision 1.1

1.1     ! misho       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>