mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
Merge pull request #5239 from probonopd/patch-2
avahi: do not delete ssh.service
This commit is contained in:
commit
3f55efc77b
@ -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
|
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/avahi-dnsconfd.action
|
||||||
rm -rf ${INSTALL}/etc/avahi/services/ssh.service
|
|
||||||
if [ ! ${SFTP_SERVER} = "yes" ]; then
|
if [ ! ${SFTP_SERVER} = "yes" ]; then
|
||||||
|
rm -rf ${INSTALL}/etc/avahi/services/ssh.service
|
||||||
rm -rf ${INSTALL}/etc/avahi/services/sftp-ssh.service
|
rm -rf ${INSTALL}/etc/avahi/services/sftp-ssh.service
|
||||||
fi
|
fi
|
||||||
rm -rf ${INSTALL}/usr/lib/systemd
|
rm -rf ${INSTALL}/usr/lib/systemd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user