#!/bin/bash . /home/native/.profile export QTDIR=/usr/lib/ezx MY_FILE=`basename $0` MY_PATH=`echo $0 | sed -e 's/'$MY_FILE'//g'` if [ ! -d /mmc/mmca1/DrawNotes ] then mkdir /mmc/mmca1/DrawNotes fi if [ ! -d /ezxlocal/DrawNotes ] then mkdir /ezxlocal/DrawNotes fi cd $MY_PATH mmsg=`showQ -u -1 "phone" -2 "SD-card" -3 "Quit" -s "Dialog_Info" -m "Store quicknotes in:"` if [ "$mmsg" = "2" ] then exit fi if [ "$mmsg" = "0" ] then showQ -u -t2 -1 "" -s "Dialog_Complete" -m "Images will be stored into the internal phone memory" ./drawnotes -d /ezxlocal/DrawNotes fi if [ "$mmsg" = "1" ] then showQ -u -t2 -1 "" -s "Dialog_Complete" -m "Images will be stored into the memory card" ./drawnotes -d /mmc/mmca1/DrawNotes fi exit