View Single Post
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#9
A different question: i try to make use of the command feature of the statusbar-cpu, like trying to mount my wiki.iso image, I have not been able to make it work.


I run a .sh script for shutdown the tablet and run it via the command feature and it worked, I replace the .sh part with the and it did not work.

mount /media/mmc1/wiki.iso with ~/wiki





Original script
________________________________________
#!/bin/sh
if [ `id -u` !=0 ] ; then
exec sudo gainroot <<EOF
exec sh $0 $*
EOF
exit $?
fi
exec shutdown -r now


Any idea?

I put the above .sh into the command and it is a convenient button to reboot. I just wish I could make it mount the wiki.iso.

EDIT: I got it to work, I forget this

sudo gainroot
chmod +x wiki.sh
and now, I mount the wiki everytime I press an icon on the command line. That saves some key strokes
bun

Last edited by bunanson; 2008-01-23 at 04:47.