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.

27 lines
637 B
Bash

#!/bin/sh
. $MIGTEST/lib/migration/migration.sh
$LOG_TOOL "upgrade from v5.0.3 to v5.0.4"
. /lib/functions.sh
migrate_11r() {
uci_remove wireless $1 mobility_domain
uci_remove wireless $1 r0_key_lifetime
uci_remove wireless $1 reassociation_deadline
uci_remove wireless $1 ft_over_ds
uci_remove wireless $1 ft_psk_generate_local
uci_remove wireless $1 pmk_r1_push
uci_remove wireless $1 nasid
uci_remove wireless $1 nasid2
uci_remove wireless $1 ap_macaddr
uci_remove wireless $1 ap2_macaddr
uci_remove wireless $1 ap2_r1_key_holder
}
config_load wireless
config_foreach migrate_11r wifi-iface
uci commit wireless
exit 0