Skip to content

Commit

Permalink
JetHome: disable suspend systemd target for JetHub D2
Browse files Browse the repository at this point in the history
  • Loading branch information
adeepn authored and igorpecovnik committed Aug 14, 2024
1 parent 06838e7 commit f2ef37c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/sources/families/jethub.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f2ef37c

Please sign in to comment.