diff options
| author | Serge Schneider <serge@raspberrypi.com> | 2024-11-21 15:57:29 +0000 |
|---|---|---|
| committer | Serge Schneider <serge@raspberrypi.com> | 2024-11-21 15:57:29 +0000 |
| commit | 8946f77e4adca7ab72312c67cb32d49378883839 (patch) | |
| tree | 1ea5db42792d7babdb7eeebf1686cff87b84a912 | |
| parent | 18acfd7f87bd9116ada048cba0ecaaca7335b271 (diff) | |
| parent | f2d397f3ba2112bc5a8b7051c8c31dac04b62013 (diff) | |
Merge branch 'master' into arm64
| -rwxr-xr-x | stage2/01-sys-tweaks/01-run.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index 2db14cc..961daed 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -72,3 +72,7 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure keyboard-configuration EOF sed -i 's/^#?Storage=.*/Storage=volatile/' "${ROOTFS_DIR}/etc/systemd/journald.conf" + +if [ -e "${ROOTFS_DIR}/etc/avahi/avahi-daemon.conf" ]; then + sed -i 's/^#?publish-workstation=.*/publish-workstation=yes/' "${ROOTFS_DIR}/etc/avahi/avahi-daemon.conf" +fi |
