18efe7b80e
Extracts waveform into a file. Waveform seems to be specific to a display batch.
19 lines
310 B
Text
19 lines
310 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/* >>/etc/postmarketos-mkinitfs/files/01-kobo-epdc-extractor.files &&
|
|
mkinitfs
|
|
eend $?
|
|
}
|
|
|