mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Disable hostapd service as it might not always be configured (#4327)
This commit is contained in:
@@ -2,15 +2,16 @@ install_distribution_specific() {
|
||||
|
||||
display_alert "Applying distribution specific tweaks for" "$RELEASE" "info"
|
||||
|
||||
# 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
|
||||
|
||||
sid)
|
||||
|
||||
# (temporally) disable broken service
|
||||
chroot "${SDCARD}" /bin/bash -c "systemctl --no-reload disable smartmontools.service >/dev/null 2>&1"
|
||||
|
||||
;;
|
||||
|
||||
focal | jammy)
|
||||
|
||||
# by using default lz4 initrd compression leads to corruption, go back to proven method
|
||||
|
||||
Reference in New Issue
Block a user