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
1 changed files with 2 additions and 2 deletions

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/"