#!/bin/sh . $MIGTEST/lib/migration/migration.sh $LOG_TOOL "upgrade from v3.1.0 to v3.2.0" . /lib/functions.sh #disable dnsmasq address pools disable_dhcp() { if [ "$($UCI_TOOL -q get network.lan)" = "dhcp" ]; then $UCI_TOOL -q set network.lan.ignore=1 $UCI_TOOL commit dhcp fi } disable_dhcp exit 0