You are not logged in.
Hi guys,
I have issues making my NFS share mount during boot (laptop and desktop), so I am using a NetworkManager dispatcher.d script to automate mounting when network is connected.
On my desktop (wired) the script works perfectly.
On my laptop (wireless) it does not.
Here is the script:
#!/bin/sh
if [ "$2" = "up" ]
then
mount "/mnt/Files"
elif [ "$2" = "down" ]
then
umount "/mnt/Files"
fiHere is the error
NetworkManager[251]: <warn> Dispatcher script failed: Script '/etc/NetworkManager/dispatcher.d/nfs.sh' exited with error status 32.Offline
RETURN CODES
mount has the following return codes (the bits can be ORed):[...]
32 mount failure
Does /mnt/Files exist on your laptop, and do you have the same entry for it in /etc/fstab as on your desktop?
Last edited by Raynman (2013-05-18 20:34:11)
Offline
Hi Raynman,
Yes they work fine. If I manually mount (mount /mnt/Files) in terminal it works fine.
Offline