mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-20 19:46:29 +00:00
Drop services we don't offer (#988)
Stop announcing services using DNS-SD we don't offer.
This commit is contained in:
parent
021b2c0357
commit
50d304d7f3
@ -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"/*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user