From f2ef37cc81e49f4c6be14975eda96cf83d043a0f Mon Sep 17 00:00:00 2001 From: Viacheslav Bocharov Date: Tue, 13 Aug 2024 17:27:34 +0300 Subject: [PATCH] JetHome: disable suspend systemd target for JetHub D2 --- config/sources/families/jethub.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/sources/families/jethub.conf b/config/sources/families/jethub.conf index c4f5845bf6ec..75f66b92b47c 100644 --- a/config/sources/families/jethub.conf +++ b/config/sources/families/jethub.conf @@ -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"