![]() |
Quote:
|
Not too sure about the other bits but I've never gotten it to run with the Load/Run app.
My script is called mount_floorPC.sh and I've dumped it in /root. (Bad, I know) The commandline for the Load/Run app is '/root/mount_floorPC.sh'. I've tried 'sh /root/mount_floorPC.sh' as well but no dice. So far as setting the path (Dunno if this'll work on the 770, Redhat accepts this tho): PATH=/mydir1:/mydir2:/mydir3; export PATH; |
Whats the process to dumping the script into /root
When I try to do this I don't have permission even though I have gainroot access. Could you provide a detailed method to do so, please excuse my ignorance of linux. I have been cruising the net/ forums / newgroups etc on ways to do this. But unfortunetly I'm resorting to gravelling for the answer. TIA |
After you've run 'sudo gainroot' run 'su -' which'll put you in actual root mode (so far as I know). Try it then. (That'll load root's environment variables, etc)
|
Quote:
|
Quote:
Thanks again. |
Here's how I did it Samba thread post 43
I think the trick is to put the scripts to mount and unmount in a directory that's in both root and user's PATH. I use /usr/bin |
Has anyone figured out mounting another drive besides C? I get a permission denied error when I try to mount a drive - even though it is shared and can be used by other computers.
|
I've done various shares using smbbrowser.
https://garage.maemo.org/projects/smbbrowser/ The program is unstable, but I was able to create the mount and it still worked even after the program crashed. This given I was using a local admin and password for the login. I'm not sure if you can get it to connect using a blank password. |
| All times are GMT. The time now is 20:02. |
vBulletin® Version 3.8.8