# Make sure the kernel sends Alt-Ctrl-Del to the init process
if [ -e /proc/sys/kernel/cad_pid ]; then
    pid=`pidof -s linuxrc`
    if [ "$pid" ] ; then
        pidof -s linuxrc > /proc/sys/kernel/cad_pid
    else
        echo "error: Unable to find pid of linuxrc."
    fi
else
    echo "error: Unable to find /proc/sys/kernel/cad_pid"
fi
