Remove FreeBSD-specific PAM configuration

Something in FreeBSD's PAM modules changed, and
now using the "passwd" configuration file fails to unlock
This commit is contained in:
Namkhai B 2020-01-06 11:17:15 -06:00 committed by Drew DeVault
parent a7404e1096
commit dee002155b
3 changed files with 4 additions and 19 deletions

View File

@ -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')

View File

@ -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