Results 1 to 3 of 3
I intend to use a custom application launcher in the panel to mount two folders from the server in my client using NFS4.
these are the commands
Code:
sudo mount ...
- 08-21-2008 #1Just Joined!
- Join Date
- Aug 2008
- Posts
- 2
silly q?

I intend to use a custom application launcher in the panel to mount two folders from the server in my client using NFS4.
these are the commands
They work OK. But my little problem is that I need two launchers, one for each command. I would like to find a way to use only one launcher changing the commands.Code:sudo mount -t nfs4 -o proto=tcp,port=2049 xxx.xxx.x.xxx:/Pictures /home/Import/Pictures sudo mount -t nfs4 -o proto=tcp,port=2049 xxx.xxx.x.xxx:/Music /home/Import/Music
Thanks
- 08-22-2008 #2
Make a script and run that with the launcher.
Thats the way I would do it.
Something like
Code:#!/bin/bash sudo mount -t nfs4 -o proto=tcp,port=2049 xxx.xxx.x.xxx:/Pictures /home/Import/Pictures sudo mount -t nfs4 -o proto=tcp,port=2049 xxx.xxx.x.xxx:/Music /home/Import/Music
The have the launcher run that.
- 08-22-2008 #3Just Joined!
- Join Date
- Aug 2008
- Posts
- 2
Sounds good.
I wrote the script
I saved the script as mountnfs.sh in my home directory. I use the launcher as app in terminal. After I clicked in the launcher I got an error "There was an error creating the child process for this terminal".Code:#!/bin/bash sudo mount -t nfs4 -o proto=tcp,port=2049 xxx.xxx.x.xxx:/Pictures /home/Import/Pictures sudo mount -t nfs4 -o proto=tcp,port=2049 xxx.xxx.x.xxx:/Music /home/Import/Music
I'm 101% sure that is my fault, any help is more than welcome.
Thanks


Reply With Quote