#! /bin/sh

# The functions that lived in this file are obsolete. the daemon() and
# killproc() functions should be replaced by start-stop-daemon. Run
# start-stop-daemon --help to see how to do that.
# Bruce Perens <Bruce@Pixar.com>, Debian Linux Distribution

# Oh - we setup RUNLEVEL and PREVLEVEL if needed
# for scripts that still expect it.
# THIS IS ALSO OBSOLETE !! - miquels.
if [ "$RUNLEVEL" = "" ]
then
	tmpargs="$*"
	set - `/sbin/runlevel`
	PREVLEVEL=$1
	RUNLEVEL=$2
	set - $tmpargs
	export RUNLEVEL PREVLEVEL
fi

