mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Remove iptables* packages + update-alternatives from stage
This commit is contained in:
parent
dd1b9e70bd
commit
35d588b29e
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -29,15 +29,7 @@ jobs:
|
||||
{
|
||||
cat > stage-raspap/package-raspap/00-run-chroot.sh <<-EOF
|
||||
#!/bin/bash
|
||||
apt-get update -y && apt-get install -y curl dhcpcd5 iptables iptables-persistent netfilter-persistent procps
|
||||
ln -sf /usr/sbin/iptables-legacy-save /usr/sbin/iptables-save
|
||||
update-alternatives --set iptables /usr/sbin/iptables-legacy
|
||||
update-alternatives --set iptables-save /usr/sbin/iptables-legacy-save
|
||||
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
|
||||
apt-get update -y && apt-get install -y curl dhcpcd5 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user