Diffstat (limited to 'noncore/tools/opie-sh/scripts/hostlist.sh') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | noncore/tools/opie-sh/scripts/hostlist.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/tools/opie-sh/scripts/hostlist.sh b/noncore/tools/opie-sh/scripts/hostlist.sh index 6d70793..d7c94f8 100755 --- a/noncore/tools/opie-sh/scripts/hostlist.sh +++ b/noncore/tools/opie-sh/scripts/hostlist.sh | |||
@@ -17,13 +17,13 @@ | |||
17 | # 20020524-1 - icon to hostlist | 17 | # 20020524-1 - icon to hostlist |
18 | # 20020517-1 - added icon, changed name in launcher | 18 | # 20020517-1 - added icon, changed name in launcher |
19 | # | 19 | # |
20 | 20 | ||
21 | CFG=/opt/QtPalmtop/share/config/hostlist.cfg | 21 | CFG=$OPIEDIR/share/config/hostlist.cfg |
22 | OPIE_SH=opie-sh | 22 | OPIE_SH=opie-sh |
23 | 23 | ||
24 | hostlist() { | 24 | hostlist() { |
25 | (echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/hostlist.png>" | 25 | (echo "<img src=$OPIEDIR/pics/opie-sh-scripts/hostlist.png>" |
26 | echo "<h3>Hostlist</h3><br>" | 26 | echo "<h3>Hostlist</h3><br>" |
27 | HOSTLIST=`cat $CFG | grep -v '#'` | 27 | HOSTLIST=`cat $CFG | grep -v '#'` |
28 | for HOST in $HOSTLIST | 28 | for HOST in $HOSTLIST |
29 | do | 29 | do |
@@ -45,9 +45,9 @@ cleanup() { | |||
45 | rm -f /tmp/qcop-msg-hostlist.sh | 45 | rm -f /tmp/qcop-msg-hostlist.sh |
46 | } | 46 | } |
47 | 47 | ||
48 | about() { | 48 | about() { |
49 | ( echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/hostlist.png>" | 49 | ( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/hostlist.png>" |
50 | echo "<h3>About</h3>" | 50 | echo "<h3>About</h3>" |
51 | echo "This little App should make it possible for you to " | 51 | echo "This little App should make it possible for you to " |
52 | echo "check some hosts for availability." | 52 | echo "check some hosts for availability." |
53 | echo "<p>" | 53 | echo "<p>" |