1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-02-15 07:29:08 +00:00

Drop services we don't offer (#988)

Stop announcing services using DNS-SD we don't offer.
This commit is contained in:
Stefan Agner
2020-11-13 15:26:30 +01:00
parent de7d88e1b5
commit 482f6b6439

View File

@@ -16,6 +16,9 @@ function fix_rootfs() {
# Cleanup miscs
rm -rf "${TARGET_DIR}/usr/lib/modules-load.d"
# Don't announce services we don't offer
rm -rf "${TARGET_DIR}/etc/avahi/services/sftp-ssh.service" "${TARGET_DIR}/etc/avahi/services/ssh.service"
# Fix: permission for system connection files
chmod 600 "${TARGET_DIR}/etc/NetworkManager/system-connections"/*