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.
This commit is contained in:
parent
462abf1d43
commit
6aed835e6c
4
eth0
4
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
|
||||
|
|
Loading…
Reference in New Issue