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.

14 lines
350 B
Plaintext

4 years ago
#!/bin/sh
. $MIGTEST/lib/migration/migration.sh
$LOG_TOOL "upgrade from v2.0.0 to v2.1.0"
$UCI_TOOL -q get wireless.radio0.acs_chanlist || {
$UCI_TOOL add_list wireless.radio0.acs_chanlist=36-112
$UCI_TOOL add_list wireless.radio0.acs_chanlist=132-140
}
[ "$($UCI_TOOL changes delos | wc -l)" = "0" ] || $UCI_TOOL commit wireless
exit 0