pmaports/device/testing/kobo-epdc-extractor/extract-waveform.initd

20 lines
310 B
Text
Raw Normal View History

#!/sbin/openrc-run
description="Extract EPD waveform blob to /lib/firmware"
depend() {
after root
}
start()
{
# Only run once
rm -f /etc/runlevels/*/$RC_SVCNAME
extract-waveform.sh &&
ls /lib/firmware/imx/epdc/* >>/etc/postmarketos-mkinitfs/files/01-kobo-epdc-extractor.files &&
mkinitfs
eend $?
}