disable avahi, systemd does mdns

This commit is contained in:
Tobias Powalowski 2023-07-27 18:51:23 +02:00
parent 25de339634
commit 5cd355dcb4
2 changed files with 4 additions and 2 deletions

View file

@ -166,6 +166,7 @@ _network() {
echo "Name=${_INTERFACE}" >> "${_NETWORK_PROFILE}"
echo "" >> "${_NETWORK_PROFILE}"
echo "[Network]" >> "${_NETWORK_PROFILE}"
echo "MulticastDNS=yes" >> "${_NETWORK_PROFILE}"
[[ "${_IP}" == "dhcp" ]] && echo "DHCP=yes" >> "${_NETWORK_PROFILE}"
if [[ "${_CONNECTION}" == "wireless" ]]; then
#shellcheck disable=SC2129

View file

@ -814,8 +814,9 @@ _custom_wayland_xorg() {
echo " This will need some time..."
_prepare_graphic "${_XORG_PACKAGE} ${_CUSTOM_XORG}" > "${_LOG}" 2>&1
fi
echo -e "\e[1mStep 2/3:\e[m Starting avahi-daemon..."
systemctl start avahi-daemon.service
echo -e "\e[1mStep 2/3:\e[m Masking avahi-daemon..."
systemctl stop avahi-daemon.service
systemctl mask avahi-daemon.service
echo -e "\e[1mStep 3/3:\e[m Setting up browser...\e[m"
which firefox &>"${_NO_LOG}" && _firefox_flags
which chromium &>"${_NO_LOG}" && _chromium_flags