Disable hostapd service as it might not always be configured (#4327)

This commit is contained in:
Igor Pečovnik
2022-10-24 09:05:23 +02:00
committed by GitHub
parent 205a3f71e4
commit 21b8626e4c

View File

@@ -2,14 +2,15 @@ install_distribution_specific() {
display_alert "Applying distribution specific tweaks for" "$RELEASE" "info"
case $RELEASE in
sid)
# (temporally) disable broken service
# disable broken service
# the problem is in default misconfiguration
chroot "${SDCARD}" /bin/bash -c "systemctl --no-reload disable smartmontools.service >/dev/null 2>&1"
chroot "${SDCARD}" /bin/bash -c "systemctl --no-reload disable smartd.service >/dev/null 2>&1"
;;
# disable hostapd as it needs to be configured
chroot "${SDCARD}" /bin/bash -c "systemctl --no-reload disable hostapd.service >/dev/null 2>&1"
case $RELEASE in
focal | jammy)