stage2: Disable wifi on 5GHz models
This commit is contained in:
parent
ba8909f05d
commit
e14a403533
1 changed files with 5 additions and 0 deletions
|
@ -15,3 +15,8 @@ on_chroot <<EOF
|
|||
wpa_passphrase "${WPA_ESSID}" "${WPA_PASSWORD}" >> "/etc/wpa_supplicant/wpa_supplicant.conf"
|
||||
EOF
|
||||
fi
|
||||
|
||||
# Disable wifi on 5GHz models
|
||||
mkdir -p "${ROOTFS_DIR}/var/lib/systemd/rfkill/"
|
||||
echo 1 > "${ROOTFS_DIR}/var/lib/systemd/rfkill/platform-3f300000.mmc:wlan"
|
||||
echo 1 > "${ROOTFS_DIR}/var/lib/systemd/rfkill/platform-fe300000.mmc:wlan"
|
||||
|
|
Loading…
Reference in a new issue