View Single Post
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#107
Originally Posted by mjjiang View Post
What I mean is to modify the .sh file as below:
from:


Code:
if [ $? = 0 ]; then
umount $MP 2> /dev/null
fi
RC=$?
else
# it is not mounted
RC=0
fi
to:

Code:
if [ $? = 0 ]; then
if [ "$MP" != "/" ] ; then umount $MP 2> /dev/null ; fi
RC=$?
else
# it is not mounted
RC=0
fi


Can I move the file to my XP desktop and modify it? Or there is a more convenient way? Thanks.
I suppose you could, but that would be a hassle. (copying it over, then editting it then copying it back with the right permissions and all).

You could just edit the file in the terminal as well. With nano or vi. Likely "sudo vi nameoffile.sh" then just edit it and save.
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...