# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo/src/lcdsplash/modules/hppa-pdc,v 1.2 2004/11/23 01:45:01 vapier Exp $

to_lcd() {
	echo "$@" > /proc/pdc/lcd
}

lcdsplash_start()    { to_lcd "->$1";}
lcdsplash_stop()     { to_lcd "<-$1";}
lcdsplash_started()  { to_lcd ">>$1";}
lcdsplash_stopped()  { to_lcd "<<$1";}
lcdsplash_init()     { to_lcd "INIT: $1";}
lcdsplash_exit()     { to_lcd "$*";}
lcdsplash_critical() { to_lcd "!!$*";}
