Diffstat (limited to 'noncore/tools/opie-sh/scripts/killproc.sh') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | noncore/tools/opie-sh/scripts/killproc.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/tools/opie-sh/scripts/killproc.sh b/noncore/tools/opie-sh/scripts/killproc.sh index 8afb4b8..6380200 100755 --- a/noncore/tools/opie-sh/scripts/killproc.sh +++ b/noncore/tools/opie-sh/scripts/killproc.sh | |||
@@ -15,19 +15,19 @@ | |||
15 | # GNU General Public License for more details. | 15 | # GNU General Public License for more details. |
16 | # | 16 | # |
17 | # 20020524-1 - code optix | 17 | # 20020524-1 - code optix |
18 | # 20020519-1 - added icon to output | 18 | # 20020519-1 - added icon to output |
19 | # 20020517-1 - nicer fullscreen, added about, tried icon | 19 | # 20020517-1 - nicer fullscreen, added about, tried icon |
20 | 20 | ||
21 | OPIE_SH=/opt/QtPalmtop/bin/opie-sh | 21 | OPIE_SH=$OPIEDIR/bin/opie-sh |
22 | 22 | ||
23 | ###################################################################### | 23 | ###################################################################### |
24 | # subroutines | 24 | # subroutines |
25 | 25 | ||
26 | about() { | 26 | about() { |
27 | ( echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/killproc.png>" | 27 | ( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/killproc.png>" |
28 | echo "<h3>About</h3>" | 28 | echo "<h3>About</h3>" |
29 | echo "This little util sends the TERM signal " | 29 | echo "This little util sends the TERM signal " |
30 | echo "to the specified process or process group. " | 30 | echo "to the specified process or process group. " |
31 | echo "The TERM signal will kill processes which " | 31 | echo "The TERM signal will kill processes which " |
32 | echo "do not catch this signal. " | 32 | echo "do not catch this signal. " |
33 | echo "<p> " | 33 | echo "<p> " |
@@ -57,13 +57,13 @@ select_process() { | |||
57 | about | 57 | about |
58 | select_process | 58 | select_process |
59 | 59 | ||
60 | PROCESS=`echo $PROCESS | cut -b -4` | 60 | PROCESS=`echo $PROCESS | cut -b -4` |
61 | 61 | ||
62 | 62 | ||
63 | ( echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/killproc.png>" | 63 | ( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/killproc.png>" |
64 | echo "<h3>Output of kill $PROCESS</h3>" | 64 | echo "<h3>Output of kill $PROCESS</h3>" |
65 | echo "<pre>" | 65 | echo "<pre>" |
66 | kill $PROCESS 2>&1 | 66 | kill $PROCESS 2>&1 |
67 | echo "</pre><p>" | 67 | echo "</pre><p>" |
68 | echo done. | 68 | echo done. |
69 | ) | $OPIE_SH -f | 69 | ) | $OPIE_SH -f |