pmaports/main/hisi-wlan/hisi-wlan.initd

16 lines
212 B
Text

#!/sbin/openrc-run
description="Initialize hisi wlan driver"
depend()
{
need udev
before wlan
}
start()
{
ebegin "Enabling wlan driver"
echo init > /sys/hisys/boot/plat
echo init > /sys/hisys/boot/wifi
}