author | zecke <zecke> | 2004-08-14 12:05:39 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-08-14 12:05:39 (UTC) |
commit | 3df06db9e6fd268c7d234be05b01a2303dc0f7ba (patch) (unidiff) | |
tree | 6a642674a0a69729c207337e63e20b8e02f40ec4 /noncore/tools/opie-sh/scripts/logviewer.sh | |
parent | 7cee03c63afadac76e87e276a5ef7b1bba27847b (diff) | |
download | opie-3df06db9e6fd268c7d234be05b01a2303dc0f7ba.zip opie-3df06db9e6fd268c7d234be05b01a2303dc0f7ba.tar.gz opie-3df06db9e6fd268c7d234be05b01a2303dc0f7ba.tar.bz2 |
Do not hardcode /opt/QtPalmtop but use $OPIEDIR
Diffstat (limited to 'noncore/tools/opie-sh/scripts/logviewer.sh') (more/less context) (show 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 | |||
@@ -17,14 +17,14 @@ | |||
17 | # 20020526-1a - initial release... | 17 | # 20020526-1a - initial release... |
18 | # | 18 | # |
19 | 19 | ||
20 | OPIE_SH=/opt/QtPalmtop/bin/opie-sh | 20 | OPIE_SH=$OPIEDIR/bin/opie-sh |
21 | INITPATH=/etc/init.d | 21 | INITPATH=/etc/init.d |
22 | 22 | ||
23 | ###################################################################### | 23 | ###################################################################### |
24 | # subroutines | 24 | # subroutines |
25 | 25 | ||
26 | about() { | 26 | about() { |
27 | ( echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/logviewer.png>" | 27 | ( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/logviewer.png>" |
28 | echo "<h3>About</h3>" | 28 | echo "<h3>About</h3>" |
29 | echo "This little App should make it possible for you to " | 29 | echo "This little App should make it possible for you to " |
30 | echo "easily have a look at some of the syslogs. " | 30 | echo "easily have a look at some of the syslogs. " |
@@ -74,7 +74,7 @@ cat /proc/kmsg >/tmp/log.$$ & | |||
74 | PID=$! | 74 | PID=$! |
75 | sleep 2 | 75 | sleep 2 |
76 | kill $PID | 76 | kill $PID |
77 | ( echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/logviewer.png>" | 77 | ( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/logviewer.png>" |
78 | echo "<h3>/proc/kmsg</h3>" | 78 | echo "<h3>/proc/kmsg</h3>" |
79 | cat /tmp/log.$$ | 79 | cat /tmp/log.$$ |
80 | ) | $OPIE_SH -t kmsg -f | 80 | ) | $OPIE_SH -t kmsg -f |
@@ -87,7 +87,7 @@ cat /proc/ksyms >/tmp/log.$$ & | |||
87 | PID=$! | 87 | PID=$! |
88 | sleep 2 | 88 | sleep 2 |
89 | kill $PID | 89 | kill $PID |
90 | ( echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/logviewer.png>" | 90 | ( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/logviewer.png>" |
91 | echo "<h3>/proc/ksyms</h3>" | 91 | echo "<h3>/proc/ksyms</h3>" |
92 | cat /tmp/log.$$ | 92 | cat /tmp/log.$$ |
93 | ) | $OPIE_SH -t ksyms -f | 93 | ) | $OPIE_SH -t ksyms -f |