pmaports/device/device-xiaomi-armani/device-xiaomi-armani.post-upgrade
alive4ever 844ef18c0c xiaomi-armani: load wlan module on default runlevel
Previous post install action results in loading wlan module during
sysinit. This is not possible since wlan device is only exposed after
wcnss-wlan service. This also delays ssh startup for approximately 3
minutes.

Loading wlan module should only be done on default runlevel, after
wcnss-wlan service has been started.

Also add a reference fb.modes file, although directfb applications still
doesn't work and cause the framebuffer driver to crash.
2018-04-21 01:17:51 +02:00

5 lines
209 B
Bash

#!/bin/sh
# Remove wlanarmani service from sysinit runlevel
rc-update del wlanarmani sysinit || true
# Enable openrc service to load wlan module for wifi functionality
rc-update add wlanarmani default || true