#!/bin/bash

# (c) 2004-2007 Miklos Vajna <vmiklos@frugalware.org>
# (c) 2005 Marcus Habermehl <bmh1980de@yahoo.de>
# initmsg for Frugalware
# distributed under GPL License

. /etc/sysconfig/initmsg

msg()
{
	echo -e "$msg_prefix$*$msg_suffix"
}

hint()
{
	echo -e "$hint_prefix$*$hint_suffix"
}

ret()
{
	ret=$1
	shift 1
	if [ "$ret" == 0 ]; then
		echo -e "$ok_prefix$*$ok_suffix"
	else
		echo -e "$failed_prefix$*$failed_suffix"
	fi

}

action=$1
shift 1
$action $*

