ajout du partage groupes dans ~/Groupes ligne 488
This commit is contained in:
parent
7074235f75
commit
25ae243179
|
@ -485,6 +485,15 @@ else
|
|||
echo "homes déjà présent"
|
||||
fi
|
||||
|
||||
groupes="<volume user=\"*\" fstype=\"cifs\" server=\"$ip_scribe\" path=\"groupes\" mountpoint=\"~/Groupes\" />"
|
||||
grep "mountpoint=\"~\"" /etc/security/pam_mount.conf.xml >/dev/null
|
||||
if [ $? != 0 ]
|
||||
then
|
||||
sed -i "/<\!-- Volume definitions -->/a\ $groupes"
|
||||
else
|
||||
echo "groupes déjà présent"
|
||||
fi
|
||||
|
||||
netlogon="<volume user=\"*\" fstype=\"cifs\" server=\"$ip_scribe\" path=\"netlogon\" mountpoint=\"/tmp/netlogon\" sgrp=\"DomainUsers\" />"
|
||||
grep "/tmp/netlogon" /etc/security/pam_mount.conf.xml >/dev/null
|
||||
if [ $? != 0 ]
|
||||
|
|
Loading…
Reference in New Issue