Diffstat (limited to 'noncore/tools/opie-sh/scripts/filesystem_mounter.sh') (more/less context) (show whitespace changes)
-rwxr-xr-x | noncore/tools/opie-sh/scripts/filesystem_mounter.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/tools/opie-sh/scripts/filesystem_mounter.sh b/noncore/tools/opie-sh/scripts/filesystem_mounter.sh index faaf37c..ba461a1 100755 --- a/noncore/tools/opie-sh/scripts/filesystem_mounter.sh +++ b/noncore/tools/opie-sh/scripts/filesystem_mounter.sh @@ -19,30 +19,30 @@ # 20020519-1 - added information screen with manpage excerpt, added # better returncode-checking # 20020517-2 - fixed output bug # 20020517-1 - nicer fullscreen, added about, tried icon # -OPIE_SH=/opt/QtPalmtop/bin/opie-sh +OPIE_SH=$OPIEDIR/bin/opie-sh ###################################################################### # subroutines about() { - ( echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/fsmounter.png>" + ( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/fsmounter.png>" echo "<h3>About</h3>" echo "This little App should make it possible for you to " echo "easily mount and unmount filesystems from /etc/fstab" echo "<p>" ) | $OPIE_SH -t fsmounter -f & SCREENCLEAN=$! sleep 1 } beforemount() { - ( echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/fsmounter.png>" + ( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/fsmounter.png>" echo "<h3>mount or unmount $MOUNTPOINT ?</h3>" echo "<b>excerpt from MOUNT(8) manpage:</b><p>" echo "All files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at <b>/</b>. These files can be spread out over several devices. The <b>mount</b> command serves to attach the file system found on some device to @@ -97,13 +97,13 @@ beforemount get_action if [ "$MOUNTPOINT" = "" ] then echo "ugly error...." | $OPIE_SH -f ; cleanup fi -( echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/fsmounter.png>" +( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/fsmounter.png>" echo "<h3>Output of $ACTION $MOUNTPOINT :</h3>" echo "<pre>" $ACTION $MOUNTPOINT 2>&1 echo "</pre><p>" echo "<h3>diskfree</h3> how much space is left ?<br>" echo "<p><table>" |