nodogsplash: update to version 5.0.2
[feed/routing.git] / nodogsplash / files / etc / uci-defaults / 40_nodogsplash
diff --git a/nodogsplash/files/etc/uci-defaults/40_nodogsplash b/nodogsplash/files/etc/uci-defaults/40_nodogsplash
new file mode 100644 (file)
index 0000000..c4f461a
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+uci -q batch <<-EOF
+       delete firewall.nodogsplash
+       set firewall.nodogsplash=include
+       set firewall.nodogsplash.type=script
+       set firewall.nodogsplash.path=/usr/lib/nodogsplash/restart.sh
+       commit firewall
+EOF