2022-04-27 22:02:43 +00:00
|
|
|
#!/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 &&
|
2023-02-18 23:16:08 +00:00
|
|
|
ls /lib/firmware/imx/epdc/* >>/usr/share/mkinitfs/files/01-kobo-epdc-extractor.files &&
|
2022-04-27 22:02:43 +00:00
|
|
|
mkinitfs
|
|
|
|
eend $?
|
|
|
|
}
|
|
|
|
|