Add raspi-config nonint do_wifi_country to 00-run-chroot

This commit is contained in:
Bill Zimmerman 2025-02-08 22:41:18 +01:00 committed by GitHub
parent e8c9fd1690
commit 9ac67e0ba4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,6 +30,9 @@ jobs:
#!/bin/bash #!/bin/bash
apt-get update -y && apt-get install -y curl dhcpcd5 iptables procps apt-get update -y && apt-get install -y curl dhcpcd5 iptables procps
curl -sL https://raw.githubusercontent.com/billz/raspap-webgui/refs/heads/master/installers/raspbian.sh | bash -s -- --yes --openvpn 1 --restapi 1 --adblock 1 --wireguard 1 --tcp-bbr 1 --check 0 curl -sL https://raw.githubusercontent.com/billz/raspap-webgui/refs/heads/master/installers/raspbian.sh | bash -s -- --yes --openvpn 1 --restapi 1 --adblock 1 --wireguard 1 --tcp-bbr 1 --check 0
# Set Wi-Fi country to prevent RF kill
raspi-config nonint do_wifi_country "US"
EOF EOF
} && } &&
chmod +x stage-raspap/package-raspap/00-run-chroot.sh && chmod +x stage-raspap/package-raspap/00-run-chroot.sh &&