#!/bin/sh
# $Owl: Owl/packages/owl-startup/single,v 1.3 2005/11/16 17:26:53 solar Exp $
#
# This file is executed by init(8) upon entering runlevel 1 (single user).
# It should be installed into /etc/rc.d/rc1.d as S99single.
#
# Original author:
#               Miquel van Smoorenburg <miquels at cistron.nl>
#

# Kill all processes.
echo "Sending all processes the TERM signal"
killall5 "-`kill -l TERM`"
sleep 5
echo "Sending all processes the KILL signal"
killall5 "-`kill -l KILL`"

echo "Entering single-user mode..."
exec init -t1 S
