From 3df06db9e6fd268c7d234be05b01a2303dc0f7ba Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 14 Aug 2004 12:05:39 +0000 Subject: Do not hardcode /opt/QtPalmtop but use $OPIEDIR --- (limited to 'noncore/tools/opie-sh/scripts/logviewer.sh') diff --git a/noncore/tools/opie-sh/scripts/logviewer.sh b/noncore/tools/opie-sh/scripts/logviewer.sh index e9657b4..9b5dc25 100755 --- a/noncore/tools/opie-sh/scripts/logviewer.sh +++ b/noncore/tools/opie-sh/scripts/logviewer.sh @@ -17,14 +17,14 @@ # 20020526-1a - initial release... # -OPIE_SH=/opt/QtPalmtop/bin/opie-sh +OPIE_SH=$OPIEDIR/bin/opie-sh INITPATH=/etc/init.d ###################################################################### # subroutines about() { - ( echo "" + ( echo "" echo "

About

" echo "This little App should make it possible for you to " echo "easily have a look at some of the syslogs. " @@ -74,7 +74,7 @@ cat /proc/kmsg >/tmp/log.$$ & PID=$! sleep 2 kill $PID -( echo "" +( echo "" echo "

/proc/kmsg

" cat /tmp/log.$$ ) | $OPIE_SH -t kmsg -f @@ -87,7 +87,7 @@ cat /proc/ksyms >/tmp/log.$$ & PID=$! sleep 2 kill $PID -( echo "" +( echo "" echo "

/proc/ksyms

" cat /tmp/log.$$ ) | $OPIE_SH -t ksyms -f -- cgit v0.9.0.2