pmaports/device/testing/device-xiaomi-armani/wlanarmani
Oliver Smith 64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00

22 lines
247 B
Text

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