e4cc96d27e
Lots of device-specific configurations: * android mount points and mounts * android groups and users (needed for udev rules) * android udev rules for platform devices (needed for android services to run) * NetworkManager device-specific config * wpa_supplicant device-specific config * device-specific openrc service for late initcalls to bring up Wi-Fi hardware * extra helper scripts to call logcat, set backlight brightness, get battery status, unlock kde screenlocker session * use kernel cmdline from downstream android to keep it as close to android as possible. Important for android in lxc container later
10 lines
396 B
Bash
Executable file
10 lines
396 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Enable autostart of deferred initcalls (needed to bring Wi-Fi online)
|
|
rc-update -q add deferred-initcalls sysinit
|
|
|
|
# Explicitly specify wlan device. Without this, p2p0 will be
|
|
# selected automatically instead of wlan0, and Wi-Fi will not work.
|
|
if ! grep -q "i wlan0" /etc/conf.d/wpa_supplicant ; then
|
|
sed -i 's/-Dwext,nl80211/-Dwext,nl80211 -i wlan0/' /etc/conf.d/wpa_supplicant
|
|
fi
|