Commit 88448cc9 authored by Tom Pillot's avatar Tom Pillot
Browse files

Remove setup wizard and fix wifi connection

parent 9e02b618
...@@ -25,7 +25,12 @@ network={ ...@@ -25,7 +25,12 @@ network={
EOL EOL
fi fi
# Disable wifi on 5GHz models # Disable wifi on 5GHz models if WPA_COUNTRY is not set
mkdir -p "${ROOTFS_DIR}/var/lib/systemd/rfkill/" mkdir -p "${ROOTFS_DIR}/var/lib/systemd/rfkill/"
echo 1 > "${ROOTFS_DIR}/var/lib/systemd/rfkill/platform-3f300000.mmcnr:wlan" if [ -v WPA_COUNTRY ]; then
echo 1 > "${ROOTFS_DIR}/var/lib/systemd/rfkill/platform-fe300000.mmcnr:wlan" echo 0 > "${ROOTFS_DIR}/var/lib/systemd/rfkill/platform-3f300000.mmcnr:wlan"
echo 0 > "${ROOTFS_DIR}/var/lib/systemd/rfkill/platform-fe300000.mmcnr:wlan"
else
echo 1 > "${ROOTFS_DIR}/var/lib/systemd/rfkill/platform-3f300000.mmcnr:wlan"
echo 1 > "${ROOTFS_DIR}/var/lib/systemd/rfkill/platform-fe300000.mmcnr:wlan"
fi
...@@ -19,7 +19,7 @@ python-twython python3-twython ...@@ -19,7 +19,7 @@ python-twython python3-twython
python-smbus python3-smbus python-smbus python3-smbus
python-flask python3-flask python-flask python3-flask
pprompt pprompt
piwiz
rp-prefapps rp-prefapps
ffmpeg ffmpeg
vlc vlc
flatpak
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment