avahi: do not delete ssh.service

This commit is contained in:
probonopd 2021-03-10 08:31:06 +01:00 committed by GitHub
parent a157d40cff
commit 3547d20ffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,8 +71,8 @@ post_makeinstall_target() {
sed -e "s,<port>22</port>,<port>22</port>\n <txt-record>path=/storage</txt-record>\n <txt-record>u=root</txt-record>,g" -i ${INSTALL}/etc/avahi/services/sftp-ssh.service
rm -rf ${INSTALL}/etc/avahi/avahi-dnsconfd.action
rm -rf ${INSTALL}/etc/avahi/services/ssh.service
if [ ! ${SFTP_SERVER} = "yes" ]; then
rm -rf ${INSTALL}/etc/avahi/services/ssh.service
rm -rf ${INSTALL}/etc/avahi/services/sftp-ssh.service
fi
rm -rf ${INSTALL}/usr/lib/systemd