diff options
author | Ross Burton <ross.burton@intel.com> | 2015-03-03 11:37:52 +0000 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-03 12:55:34 -0500 |
commit | 3b33b542733f68123efb46dbb7c3903235302e1f (patch) | |
tree | 7718929cf15a1d73fce5f5b50d3aaed4614f70f3 /tmpfiles.d | |
parent | a6cccd8f580fc1e062dba3895e232007acd38781 (diff) |
tmpfiles.d: only copy /etc/pam.d if PAM is present
If HAVE_PAM isn't set then don't attempt to copy /etc/pam.d from the
factory, as it doesn't get installed.
Diffstat (limited to 'tmpfiles.d')
-rw-r--r-- | tmpfiles.d/etc.conf.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tmpfiles.d/etc.conf.m4 b/tmpfiles.d/etc.conf.m4 index 9b0e080e6f..ab5cd16f24 100644 --- a/tmpfiles.d/etc.conf.m4 +++ b/tmpfiles.d/etc.conf.m4 @@ -14,4 +14,6 @@ m4_ifdef(`ENABLE_RESOLVED', L /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf )m4_dnl C /etc/nsswitch.conf - - - - +m4_ifdef(`HAVE_PAM', C /etc/pam.d - - - - +)m4_dnl |