[daath/nfs] Alias nfs créé pour réduire la dépendance au nom, et ln -s /home-adh /home

This commit is contained in:
Pierre-Elliott Bécue 2013-04-19 04:24:33 +02:00
parent 393d27f903
commit ab8552785c
2 changed files with 2 additions and 5 deletions

View file

@ -110,9 +110,6 @@ class home:
except ValueError:
home, uid, login = args.split(',')
mail_redirect = None
# Kludge pour daath (nfs) normalement inutile
if home.startswith('/home/') and hostname == "daath":
home = "/home-adh/" + home[6:]
### Home
if not os.path.exists(home):
# Le home n'existe pas