Update release.yml

This commit is contained in:
Bill Zimmerman 2025-02-24 08:23:20 +01:00 committed by GitHub
parent 12e70bc330
commit 062939a0f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,15 @@ jobs:
{ {
cat > stage-raspap/package-raspap/00-run-chroot.sh <<-EOF cat > stage-raspap/package-raspap/00-run-chroot.sh <<-EOF
#!/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 iptables-legacy iptables-persistent netfilter-persistent procps
update-alternatives --set iptables /usr/sbin/iptables-legacy
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
update-alternatives --display iptables
mkdir -p /etc/iptables
touch /etc/iptables/rules.v4 /etc/iptables/rules.v6
chmod 644 /etc/iptables/rules.v4 /etc/iptables/rules.v6
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 # Set Wi-Fi country to prevent RF kill