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

19 lines
303 B
Text

#!/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/* >>/usr/share/mkinitfs/files/01-kobo-epdc-extractor.files &&
mkinitfs
eend $?
}