#!/bin/sh
# Print a message in text or GUI mode
# License : GNU GPL
# (c) Eko M. Budi, 2004
# (c) Vector Linux, 2004

if [ "$DISPLAY" ]; then
   xmessage -center -timeout 20 -title "$1" "$2
$3"
else
   echo $1
   if [ $2 ]; then 
     echo $2
   fi
fi
