#!/bin/sh

#     DESCRIPTION
#
# Use inittab file from startup-rescues package


#     REQUIRES
#
# Nothing


#     INFO
#

NAME="init1-inittab-rescue"

verbose()
{
    if [ -n "$GLOBAL_VERBOSE" ]; then
        echo "HOOK: $NAME: $@"
    fi
}

verbose "has started"

if [ -f /etc/inittab.rescue ]; then
    verbose "Use inittab file from startup-rescue package"
    mv -f -- /etc/inittab.rescue /etc/inittab
else
    verbose "Please install startup-rescues package"
fi

verbose "finished"
