Merge pull request #5239 from probonopd/patch-2

avahi: do not delete ssh.service
This commit is contained in:
Christian Hewitt
2021-03-10 11:37:13 +04:00
committed by GitHub

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