Add the automount of net file system for networkmanager.

master
Mike Hiretsky 14 years ago
parent 59537ee715
commit 3a513e143c

@ -11,6 +11,7 @@ CHANGE LOG
* Added a parallel installation packages.
* Use developer profile in building system if version of system have long number (X.X.X).
* Fix bug of installation to hard drive containing only one partition.
* Add the automount of net file system for networkmanager.
1.3.9
* Add change partition id for system installation.

@ -0,0 +1,17 @@
#!/bin/bash
# these are the args passed by NetworkManager
MY_DEV_NAME="$1"
MY_NM_ACTION="$2"
net_fs="afs,cifs,coda,davfs,fuse,fuse.sshfs,gfs,glusterfs,lustre,ncpfs,nfs,nfs4,ocfs2,shfs,smbfs"
case ${MY_NM_ACTION} in
up)
timeout -s 9 15s mount -at ${net_fs} &>/dev/null
;;
down)
# Lazy umount all filesystems
umount -at ${net_fs} -l
;;
esac
Loading…
Cancel
Save