Skip to content

Commit

Permalink
stage2: Disable wifi on 5GHz models
Browse files Browse the repository at this point in the history
  • Loading branch information
XECDesign committed Jun 7, 2019
1 parent ba8909f commit e14a403
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions stage2/02-net-tweaks/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit e14a403

Please sign in to comment.