#!/bin/sh
# Copyright 2011 Paul Parsons
# Distributed under the terms of the GNU General Public License v3 or later

depend="base"
service --depend ${depend} || exit 1

case $1 in
"start")
	daemon --start --label=$0 /sbin/begetty constty
	;;
"stop")
	daemon --stop --label=$0
	;;
esac

exit 0
