#!/bin/sh if [ "$KD_MODE" == "GRAPHICS" ] ; then if [ "$KD_SHIFT" == "1" ] ; then echo "Shift B" | osd_cat --align=center --bottom --color=green --delay=2 --font=lucidasanstypewriter-bold-24& echo "exec /home/greenfly/bin/tv" | exec su - greenfly elif [ "$KD_SHIFT" == "4" ] ; then echo "CTRL B" | osd_cat --align=center --bottom --color=green --delay=2 --font=lucidasanstypewriter-bold-24& exec /usr/local/bin/toggle_tv else echo "B" | osd_cat --align=center --bottom --color=green --delay=2 --font=lucidasanstypewriter-bold-24& echo "exec xine" | exec su greenfly fi else echo Key B fi