pmaports/device/testing/device-jolla-sbj/load-wlan-module

23 lines
237 B
Text
Raw Normal View History

2021-05-15 08:05:30 +00:00
#!/sbin/openrc-run
description="Loading wlan module"
depend()
{
need wcnss-wlan
before wlan
2021-05-15 08:05:30 +00:00
}
start()
{
ebegin "Loading wlan module"
modprobe wlan || return 1
}
stop()
{
ebegin "Unloading wlan module"
rmmod wlan || return 1
}