Diffstat (limited to 'noncore/tools/opie-sh/scripts/logviewer.sh') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | noncore/tools/opie-sh/scripts/logviewer.sh | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ -14,20 +14,20 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # 20020526-1a - initial release... # -OPIE_SH=/opt/QtPalmtop/bin/opie-sh +OPIE_SH=$OPIEDIR/bin/opie-sh INITPATH=/etc/init.d ###################################################################### # subroutines about() { - ( echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/logviewer.png>" + ( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/logviewer.png>" echo "<h3>About</h3>" echo "This little App should make it possible for you to " echo "easily have a look at some of the syslogs. " echo "<p>" ) | $OPIE_SH -t logviewer -f & SCREENCLEAN=$! @@ -71,26 +71,26 @@ case $LOGMETHOD in 0) cat /proc/kmsg >/tmp/log.$$ & PID=$! sleep 2 kill $PID -( echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/logviewer.png>" +( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/logviewer.png>" echo "<h3>/proc/kmsg</h3>" cat /tmp/log.$$ ) | $OPIE_SH -t kmsg -f rm -f /tmp/$$ cleanup ;; 1) cat /proc/ksyms >/tmp/log.$$ & PID=$! sleep 2 kill $PID -( echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/logviewer.png>" +( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/logviewer.png>" echo "<h3>/proc/ksyms</h3>" cat /tmp/log.$$ ) | $OPIE_SH -t ksyms -f rm -f /tmp/$$ cleanup ;; |