diff options
| author | Namkhai B <namkhai.n3@protonmail.com> | 2020-01-06 11:17:15 -0600 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2020-01-06 13:18:25 -0700 |
| commit | dee002155b919cb769f9c417e7e263443a181a9e (patch) | |
| tree | 2b3095baa4a7ac0458db07965bf07f441dc325cf | |
| parent | a7404e109643bffb77cb63b6f22fc5d46a7cead2 (diff) | |
Remove FreeBSD-specific PAM configuration
Something in FreeBSD's PAM modules changed, and
now using the "passwd" configuration file fails to unlock
| -rw-r--r-- | meson.build | 17 | ||||
| -rw-r--r-- | pam/swaylock (renamed from pam/swaylock.linux) | 0 | ||||
| -rw-r--r-- | pam/swaylock.freebsd | 6 |
3 files changed, 4 insertions, 19 deletions
diff --git a/meson.build b/meson.build index 3110e8e..5c460bb 100644 --- a/meson.build +++ b/meson.build @@ -152,19 +152,10 @@ executable('swaylock', install: true ) -if is_freebsd - install_data( - 'pam/swaylock.freebsd', - install_dir: sysconfdir + '/pam.d/', - rename: 'swaylock' - ) -else - install_data( - 'pam/swaylock.linux', - install_dir: sysconfdir + '/pam.d/', - rename: 'swaylock' - ) -endif +install_data( + 'pam/swaylock', + install_dir: sysconfdir + '/pam.d/' +) if scdoc.found() sh = find_program('sh') diff --git a/pam/swaylock.linux b/pam/swaylock index 6a36b0d..6a36b0d 100644 --- a/pam/swaylock.linux +++ b/pam/swaylock diff --git a/pam/swaylock.freebsd b/pam/swaylock.freebsd deleted file mode 100644 index 603fc18..0000000 --- a/pam/swaylock.freebsd +++ /dev/null @@ -1,6 +0,0 @@ -# -# PAM configuration file for the swaylock screen locker. By default, it includes -# the 'passwd' configuration file (see /etc/pam.d/passwd) -# - -auth include passwd |
