openssh: fix previous and escape -.
This commit is contained in:
parent
58cf5e51d1
commit
db7a77c0f6
|
@ -37,7 +37,7 @@ post_install() {
|
|||
# Disable pam_cracklib
|
||||
sed '/pam_cracklib.*/d' -i ${DESTDIR}/etc/pam.d/sshd
|
||||
# Enable pam_systemd.so by default.
|
||||
printf "-session\trequired\tpam_systemd.so\n" >> ${DESTDIR}/etc/pam.d/sshd
|
||||
printf "\-session\trequired\tpam_systemd.so\n" >> ${DESTDIR}/etc/pam.d/sshd
|
||||
}
|
||||
|
||||
openssh-server_package() {
|
||||
|
|
Loading…
Reference in New Issue