pmaports/device/testing/device-xiaomi-armani/wlanarmani

23 lines
237 B
Text
Raw Normal View History

#!/sbin/openrc-run
description="Loading wlan module"
depend()
{
need wcnss-wlan
before wlan
}
start()
{
ebegin "Loading wlan module"
modprobe wlan || return 1
}
stop()
{
ebegin "Unloading wlan module"
rmmod wlan || return 1
}