JetHome: disable suspend systemd target for JetHub D2

This commit is contained in:
Viacheslav Bocharov 2024-08-13 17:27:34 +03:00 committed by Igor
parent 06838e7a19
commit f2ef37cc81

View File

@ -206,6 +206,9 @@ family_tweaks() {
if [[ "$BOARD" == jethubj80 ]]; then
# Bluetooth
chroot_sdcard systemctl --no-reload enable jethub-rtk-hciattach.service
elif [[ "$BOARD" == "jethubj200" ]]; then
display_alert "Disable suspend in JetHub D2"
chroot_sdcard systemctl mask suspend.target
fi
display_alert "Adding JetHome repository and authentication key" "/etc/apt/sources.list.d/jethome.list" "info"