# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-src/rc-scripts/init.d/reboot.sh,v 1.8 2004/04/21 17:09:18 vapier Exp $

# kuro: tell ppc_uartd that we are going to reboot
if [ -c "/dev/ttyS1" ] ; then 
	echo -n "CCCC" > /dev/ttyS1
else
	ewarn "No /dev/ttyS1 device found, your Kurobox may not reboot correctly!"
fi

/sbin/reboot -idp
