b11e24701a
If the wlan0 interface is rfkilled down on boot, WiFi won't work until reboot. It seems that quickly ifconfig'ing wlan0 up and down in sysinit is enough to work around the bug. [ci:skip-build] already built successfully in CI
8 lines
133 B
Text
8 lines
133 B
Text
#!/sbin/openrc-run
|
|
|
|
description="Hack to fix wlan0 EINVAL if rfkilled on boot"
|
|
|
|
start () {
|
|
ifconfig wlan0 up
|
|
ifconfig wlan0 down
|
|
}
|