pmaports/device/community/device-purism-librem5/librem5-shipmode.initd
Clayton Craft 22a5e4dda5
device-purism-librem5: upgrade to 1.11 (MR 1896)
- Upgrade librem5-base to v33
- Include the haptic vibration driver in initfs for supporting osk-sdl's
  haptic feedback feature
- remove gps udev rule in pmaports in favor of using rule from
  librem5-base
- install modem audio udev rule from librem5-base
- add openrc service for putting device into 'ship mode' on shutdown
  (prevents battery from slowly draining)
- include Evergreen/r4 dtb in /boot
- Fix audio with port of ucm config to ucm2 (patch submitted upstream
  here: https://source.puri.sm/Librem5/librem5-base/-/merge_requests/214)
2021-01-27 15:36:21 +01:00

3 lines
148 B
Text

#!/sbin/openrc-run
description="Put the Librem 5 into 'ship mode' so that the battery does not drain when off."
command="/usr/bin/librem5-shipmode"