You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
310 B
Bash
19 lines
310 B
Bash
#!/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
|