#!/bin/sh . $MIGTEST/lib/migration/migration.sh $LOG_TOOL "upgrade from v5.1.0 to v5.1.1" . /lib/functions.sh iface_add_main() { [ "$(config_get "$1" dvl_guest)" = 1 ] || uci_set wireless "$1" dvl_main 1 } config_load wireless config_foreach iface_add_main wifi-iface uci_commit wireless exit 0