pmaports/device/testing/firmware-samsung-pxa1908/sd8x-wlan.initd
Clayton Craft d13fa50d0c
firmware-samsung-pxa1908: change initd service to start before 'wlan' (MR 4624)
[ci:skip-build] already built successfully in CI
2023-12-12 09:37:31 -08:00

15 lines
197 B
Text

#!/sbin/openrc-run
description="Initialize sd8x wlan driver"
depend()
{
need udev
before wlan
}
start()
{
ebegin "Enabling wlan driver"
echo 1 > /sys/devices/platform/sd8x-rfkill/pwr_ctrl
}