#!/bin/sh
### BEGIN INIT INFO
# Provides:          drivers-install
# Required-Start:	 udev dbus ifupdown $syslog
# Required-Stop:	 udev dbus
# Should-Start:
# Should-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# X-Interactive:     true
# Short-Description: Configure drivers-install
# Description:       This file should be used to construct scripts to be
#                    placed in /etc/init.d.
### END INIT INFO
# Policy Info:  http://wiki.debian.org/LSBInitScripts
# also check /etc/init.d/skeleton

# Author: Author


# Defaults
#PIDDIR=/var/run/drivers-install
#drivers-installPID=$PIDDIR/drivers-install.pid
#DESC="Configure Drivers"
SCRIPTNAME=/etc/init.d/drivers-install
SOURCE="$0"

# enable translations
#if [[ -s "/etc/default/locale" ]] ; then
    #source /etc/default/locale
#fi
## gettext functions
#if [[ -x "/usr/bin/gettext.sh" ]] ; then
    #. gettext.sh
#else
    ## make it compatible
    #eval_gettext(){
        #echo "$@"
    #}
#fi
#TEXTDOMAIN="deliver"
#export TEXTDOMAIN

#_CMDLINE="$(cat /proc/cmdline)"

## Reads config file (will override defaults above)
#[ -r /etc/default/drivers-install ] && . /etc/default/drivers-install

#. /lib/lsb/init-functions





do_start(){
    /usr/sbin/drivers-install "$@"
}

do_stop(){
    . /lib/lsb/init-functions
    log_daemon_msg "Shutting down computer"
    log_progress_msg "drivers"
}

case "$1" in
    "")
        echo "Error: drivers-install should be called with the 'start' argument." >&2
        ;;
    start)
        do_start "$@"
        ;;
    stop)
        do_stop "$@"
        ;;
    restart|reload|force-reload)
        "$0" stop
        "$0" start
        ;;
    *)
        echo "Usage: drivers-install [start|stop]" >&2
        exit 3
        ;;
esac


# vim: set filetype=sh foldmethod=marker :
