pmaports/device/main/device-purism-librem5/l5-ship-mode.initd
Clayton Craft 67b5efcea1
device-purism-librem5: upgrade to 1.34 (MR 3501)
- update to use librem5-base v52
- install usbguard config / new subpackage
- move xorg.conf to new x11 subpackage
- refactor udev rule install to just install everything available from
  librem5-base upstream
- use purism's shipmode script, see:
  https://source.puri.sm/Librem5/linux/-/merge_requests/333#note_195511
2022-10-07 21:31:45 +02:00

9 lines
148 B
Text

#!/sbin/openrc-run
name="Purism Librem 5 Ship Mode Enabler"
start()
{
ebegin "Enabling ship mode"
l5-poweroff-shipmode poweroff
eend 0
}