Don't fail if banner files was not here
This commit is contained in:
parent
c26cb0c3c7
commit
61fb4124dd
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ echo "root:yunohost" | chpasswd
|
|||
EOF
|
||||
|
||||
echo "Removing Raspbian sshd banner"
|
||||
rm /etc/ssh/sshd_config.d/rename_user.conf
|
||||
rm /usr/share/userconf-pi/sshd_banner
|
||||
rm -f /etc/ssh/sshd_config.d/rename_user.conf
|
||||
rm -f /usr/share/userconf-pi/sshd_banner
|
||||
|
||||
install -m 755 files/check_yunohost_is_installed.sh "${ROOTFS_DIR}/etc/profile.d/"
|
||||
|
||||
|
|
Reference in a new issue