openwrt-routing/nodogsplash/files/etc/uci-defaults/40_nodogsplash

10 lines
213 B
Bash

#!/bin/sh
uci batch <<-EOT
delete firewall.nodogsplash
set firewall.nodogsplash=include
set firewall.nodogsplash.type=script
set firewall.nodogsplash.path=/usr/lib/nodogsplash/restart.sh
commit firewall
EOF