diff --git a/Python/etc/auto.master b/Python/etc/auto.master index d0512f5..82c8714 100644 --- a/Python/etc/auto.master +++ b/Python/etc/auto.master @@ -2,8 +2,11 @@ header("Définition des points de montage pour autofs.") -def mount(mntpoint, script): - print mntpoint, script +def mount(mntpoint, script, timeout=None): + if timeout is not None: + print mntpoint, script, '-t%s' % timeout + else: + print mntpoint, script if has("home"): - mount("/home", "/etc/auto.home") + mount("/home", "/etc/auto.home", 600)