#!/bin/sh

if [ -z "`groups |grep lock`" ]; then echo "User not in group 'lock'. Creating lockfiles for serial access may not work."; fi
if [ -z "`groups |grep uucp`" ]; then echo "User not in group 'uucp'. Serial access may not work."; fi
if [ -z "`groups |grep dialout`" ]; then echo "User not in group 'dialout'. Serial access may not work."; fi

mkdir -p ~/.bt747 >/dev/null 2>/dev/null
cd ~/.bt747
JP=/usr/share/java
java -classpath $JP/RXTXcomm.jar:$JP/Waba_only.jar:$JP/collections-superwaba.jar:$JP/BT747.jar waba.applet.Applet /w 320 /h 320 /scale 1 /bpp 8 BT747
