Update removal of the sshd banner : command should apply to files inside the rootfs

This commit is contained in:
Alexandre Aubin 2022-07-24 01:15:10 +02:00 committed by GitHub
parent 61fb4124dd
commit 457bf5b273
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,8 +47,8 @@ echo "root:yunohost" | chpasswd
EOF
echo "Removing Raspbian sshd banner"
rm -f /etc/ssh/sshd_config.d/rename_user.conf
rm -f /usr/share/userconf-pi/sshd_banner
rm -f "${ROOTFS_DIR}/etc/ssh/sshd_config.d/rename_user.conf"
rm -f "${ROOTFS_DIR}/usr/share/userconf-pi/sshd_banner"
install -m 755 files/check_yunohost_is_installed.sh "${ROOTFS_DIR}/etc/profile.d/"