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
9 lines
213 B
Bash
9 lines
213 B
Bash
#!/bin/sh
|
|
|
|
# Create mount point and /efs mount point in fstab
|
|
if ! grep -q /efs /etc/fstab; then
|
|
mkdir -p /efs
|
|
echo "/dev/disk/by-partlabel/EFS /efs auto ro 0 0" >> /etc/fstab
|
|
fi
|
|
|
|
rc-update add wlan0-up sysinit
|