diff --git a/omr-6in4/files/etc/uci-defaults/9010-omr-6in4 b/omr-6in4/files/etc/uci-defaults/9010-omr-6in4 index 459d76db8..2721775aa 100755 --- a/omr-6in4/files/etc/uci-defaults/9010-omr-6in4 +++ b/omr-6in4/files/etc/uci-defaults/9010-omr-6in4 @@ -12,6 +12,12 @@ if [ "$(uci -q show network | grep omr6in4)" = "" ]; then set network.omr6in4.peeraddr=10.255.255.1 set network.omr6in4.gateway=fe80::a00:1 commit network + EOF + rm -f /tmp/luci-indexcache +fi + +if [ "$(uci -q get firewall.zone_vpn.network | grep omr6in4)" = "" ]; then + uci -q batch <<-EOF add_list firewall.zone_vpn.network=omr6in4 commit firewall EOF