retire les switchs if has('wheezy')

This commit is contained in:
Daniel STAN 2015-05-02 12:46:41 +02:00
parent fd785612d9
commit efa75412b2
11 changed files with 14 additions and 34 deletions

View file

@ -17,12 +17,7 @@ pam-auth-update to manage selection of other modules. See
pam-auth-update(8) for details.
""")
if not has('wheezy'):
print "session sufficient %s" % pam_module
print "session required pam_unix.so"
print "session required pam_mkhomedir.so"
else:
if True: # TODO get rid of @
@# here are the per-package modules (the "Primary" block)
@session [default=1] pam_permit.so
@# here's the fallback if no module succeeds