pmaports/device/testing/firmware-samsung-manta/firmware-samsung-manta.post-install
blacksilver 7e6351e086
samsung-manta: charging, firmware, wifi, alsa, framebuffer (MR 2892)
[ci:skip-build] already built successfully in CI
2022-02-09 17:50:39 -08:00

10 lines
396 B
Bash

#!/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/-Dnl80211,wext/-Dnl80211,wext -i wlan0/' /etc/conf.d/wpa_supplicant
fi