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

22 lines
237 B
Text

#!/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
}