diff options
| author | Andres Salomon <dilinger@queued.net> | 2020-06-26 01:40:08 -0400 |
|---|---|---|
| committer | Andres Salomon <dilinger@queued.net> | 2020-06-26 01:40:08 -0400 |
| commit | 6aed835e6c147addc6638e797e0bb117b62f6bcb (patch) | |
| tree | b0738dee9a930ed0a98f5648480377c72c1b56d9 | |
| parent | 462abf1d43ca3c9037f9fc8a3a36674082dc2d0a (diff) | |
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.
| -rw-r--r-- | eth0 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
