#!/bin/sh
#
# boot init script
# Gets run early in the boot process (with start) and late in the shutdown process (with stop)
#
# chkconfig: 2345 01 99
# description: Gets run early in the boot process and late in the shutdown process
#

start()
{
    if [ ! -d /tmp/php/session ]; then
        mkdir -p /tmp/php/session
        chmod 777 /tmp/php/session
    fi
}

stop()
{
    :
}

RETVAL=0

case "$1" in
    start)
        start
        ;;
    stop)
        stop
        ;;
    *)
        echo $"Usage: $0 {start|stop}"
        RETVAL=1
esac
exit ${RETVAL}

# vim:set et:
