From acb540203ce3f6cfdab2ddcdf3a853ce363c016f 2018-11-11 01:06:52 From: Unknown Date: 2018-11-11 01:06:52 Subject: [PATCH] sbin/iptables not bin/iptables --- diff --git a/bootstrap.d/21-firewall.sh b/bootstrap.d/21-firewall.sh index d5cd258..1cabec2 100644 --- a/bootstrap.d/21-firewall.sh +++ b/bootstrap.d/21-firewall.sh @@ -10,9 +10,9 @@ if [ "$ENABLE_IPTABLES" = true ] ; then mkdir -p "${ETC_DIR}/iptables" # make sure iptables-legacy,iptables-legacy-restore and iptables-legacy-save are the used alternatives - chroot_exec update-alternatives --verbose --set iptables /usr/bin/iptables-legacy - chroot_exec update-alternatives --verbose --set iptables-save /usr/bin/iptables-legacy-save - chroot_exec update-alternatives --verbose --set iptables-restore /usr/bin/iptables-legacy-restore + chroot_exec update-alternatives --verbose --set iptables /usr/sbin/iptables-legacy + chroot_exec update-alternatives --verbose --set iptables-save /usr/sbin/iptables-legacy-save + chroot_exec update-alternatives --verbose --set iptables-restore /usr/sbin/iptables-legacy-restore # Install iptables systemd service install_readonly files/iptables/iptables.service "${ETC_DIR}/systemd/system/iptables.service"