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/service_manager.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/service_manager.sh') (more/less context) (show whitespace changes)
-rwxr-xr-x | noncore/tools/opie-sh/scripts/service_manager.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/tools/opie-sh/scripts/service_manager.sh b/noncore/tools/opie-sh/scripts/service_manager.sh index d1423a5..e3c04bc 100755 --- a/noncore/tools/opie-sh/scripts/service_manager.sh +++ b/noncore/tools/opie-sh/scripts/service_manager.sh | |||
@@ -19,14 +19,14 @@ | |||
19 | # 20020517-1 - added about and fullscreen | 19 | # 20020517-1 - added about and fullscreen |
20 | # | 20 | # |
21 | 21 | ||
22 | OPIE_SH=/opt/QtPalmtop/bin/opie-sh | 22 | OPIE_SH=$OPIEDIR/bin/opie-sh |
23 | INITPATH=/etc/init.d | 23 | INITPATH=/etc/init.d |
24 | 24 | ||
25 | ###################################################################### | 25 | ###################################################################### |
26 | # subroutines | 26 | # subroutines |
27 | 27 | ||
28 | about() { | 28 | about() { |
29 | ( echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/service_manager.png>" | 29 | ( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/service_manager.png>" |
30 | echo "<h3>About</h3>" | 30 | echo "<h3>About</h3>" |
31 | echo "This little App should make it possible for you to " | 31 | echo "This little App should make it possible for you to " |
32 | echo "easily start and stop services in /etc/init.d." | 32 | echo "easily start and stop services in /etc/init.d." |
@@ -62,7 +62,7 @@ status_disclaimer() { | |||
62 | # tell that init scripts are not too standard | 62 | # tell that init scripts are not too standard |
63 | # | 63 | # |
64 | cat | $OPIE_SH -f <<EOT | 64 | cat | $OPIE_SH -f <<EOT |
65 | <img src=/opt/QtPalmtop/pics/opie-sh-scripts/service_manager.png> | 65 | <img src=$OPIEDIR/pics/opie-sh-scripts/service_manager.png> |
66 | <h3>status has been disabled</h3> | 66 | <h3>status has been disabled</h3> |
67 | 67 | ||
68 | the status service has been disabled | 68 | the status service has been disabled |