o2 a un traitement de faveur.
This commit is contained in:
parent
a9d9cfc21c
commit
f667cafe79
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
header("Les modifications locales sont a placer dans le fichier /etc/fstab.local")
|
||||
|
||||
import string
|
||||
|
||||
def mnt(fs, mntpoint, type, options=[], dump=0, pass_=0):
|
||||
print ("%s %s %s %s %d %d" %
|
||||
(fs, mntpoint, type,
|
||||
|
@ -21,3 +23,6 @@ if has("nfs"):
|
|||
if has("home-permanent"):
|
||||
# Pour ceux qui accedent beaucoup aux homes on monte tout le /home
|
||||
mnt("nfs.adm.crans.org:/home-adh", "/home", "nfs", ["rw"]);
|
||||
if has("o2"):
|
||||
for partition in string.lowercase + ['logs', 'mail']:
|
||||
mnt("nfs.adm.crans.org:/home-adh/%s" % (partition,), "/home/%s" % (partition,), "nfs", ["rw"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue