#!/bin/sh if [ "$(uci -q get openmptcprouter.settings.disable_ipv6)" != "0" ]; then uci -q batch <<-EOF >/dev/null set dhcp.lan.ra_default=0 set dhcp.lan.dhcpv6=disabled set dhcp.lan.force=1 commit dhcp EOF rm -f /tmp/luci-indexcache fi exit 0