#!/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 /home/0db/hipserv ]; then
        cp /var/lib/sqlite/hipserv /home/0db/
        chown root:root /home/0db/*
        chmod 0770 /home/0db/*
    fi
}

stop()
{
    :
}

RETVAL=0

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

# vim:set et:
