SWITCH_NAME_CHANGED=
+. /lib/functions.sh
+
do_change_switch_name() {
local config="$1"
local option=$2
local oldname=$1
local newname=$2
- . /lib/functions.sh
-
config_load network
logger -t migrate-switchX "Updating switch names in network configuration"
}
}
-. /lib/ar71xx.sh
-
-board=$(ar71xx_board_name)
+board=$(board_name)
case "$board" in
dir-825-c1|\