Add template for ip-up and ip-down action of network

master
Mike Hiretsky 14 years ago
parent bd6c952773
commit 498c5a24fe

@ -11,7 +11,6 @@ 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.
* Add 755 permission for templates into /etc/NetworkManager/dispatcher.d directory.
1.3.9

@ -1,19 +0,0 @@
#!/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

@ -0,0 +1,9 @@
#!/bin/bash
DEV_NAME="$1"
NM_ACTION="$2"
if [[ ${NM_ACTION} == "down" ]]
then
:
fi

@ -0,0 +1,9 @@
#!/bin/bash
DEV_NAME="$1"
NM_ACTION="$2"
if [[ ${NM_ACTION} == "up" ]]
then
:
fi
Loading…
Cancel
Save