# -*- coding: utf-8; mode: python -*- header("Définition des points de montage pour autofs.") 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", 600)