pmaports/main/postmarketos-base/deferred-initcalls.init
Alexey Min 6818cd6bac postmarketos-base: add deferred-initcalls openrc service (!338)
This script triggers late initialization of some platform
drivers that cannot be probed at boot time, because for
example they use firmware blobs on partitions that are
not mounted during early kernel startup.

Disabled by default, can be enabled on per-device basis.
2019-05-02 21:07:31 +00:00

17 lines
385 B
Text

#!/sbin/openrc-run
# This script triggers late initialization of some platform
# drivers that cannot be probed at boot time, because for
# example they use firmware blobs on partitions that are
# not mounted during early kernel startup.
depend() {
need localmount dev
before wpa_supplicant
}
start() {
ebegin "Starting deferred initcalls"
cat /proc/deferred_initcalls
eend 0
}