pmaports/device/main/device-purism-librem5/l5-lockdown-support.initd
Clayton Craft 584337aa82
purism-librem5: upgrade to latest ucm, fix udev rule installation (MR 3684)
Apparently upstream names udev rules with the .udev extension... which
doesn't work with udev (I guess debian has a helper for installing rules
and it renames them?). This adds the expected ".rules" extension to them
so that udev actually uses them.

This update also includes improved ucm config from Purism.

"Lockdown suppport" is also added here, which allows toggling off all of
the hks on the L5 to disable all radios, etc without breaking some
sensors. For more info, see 65ec7038 in librem5-base.
2022-12-01 16:46:14 -08:00

9 lines
154 B
Text

#!/sbin/openrc-run
name="Purism Librem 5 Lockdown Support"
start()
{
ebegin "Enabling lockdown support"
/usr/sbin/lockdown-support.sh
eend 0
}