From 6aed835e6c147addc6638e797e0bb117b62f6bcb Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Fri, 26 Jun 2020 01:40:08 -0400 Subject: [PATCH] networking: don't fail if we can't restore firewall tables I'm not sure if this happens on all images, but on a pi 4 networking fails to initialize because there's no /etc/iptables/rules.v4. That doesn't seem right, so let's ignore errors and allow networking. --- eth0 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth0 b/eth0 index 8732488..adc5227 100644 --- a/eth0 +++ b/eth0 @@ -2,5 +2,5 @@ auto eth0 # TODO: switch back to iptables-persistent once it re-enters testing iface eth0 inet dhcp - pre-up iptables-restore < /etc/iptables/rules.v4 - pre-up ip6tables-restore < /etc/iptables/rules.v6 + pre-up iptables-restore < /etc/iptables/rules.v4 || true + pre-up ip6tables-restore < /etc/iptables/rules.v6 || true