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
486 B
Plaintext
27 lines
486 B
Plaintext
4 years ago
|
#!/bin/sh
|
||
|
. $MIGTEST/lib/migration/migration.sh
|
||
|
|
||
|
$LOG_TOOL "downgrade from v4.0.0 to v3.2.0"
|
||
|
|
||
|
. /lib/functions.sh
|
||
|
|
||
|
. /lib/ar71xx.sh
|
||
|
|
||
|
touch /etc/config/socketman
|
||
|
uci set socketman.service=service
|
||
|
uci set socketman.service.disabled=1
|
||
|
uci commit socketman
|
||
|
|
||
|
BOARD=$(ar71xx_board_name)
|
||
|
[ "$BOARD" = "dlan-pro-1200-ac" ] && (
|
||
|
. /lib/migration/plc-pib.sh
|
||
|
migrate_pib_wifiac_2d
|
||
|
)
|
||
|
|
||
|
[ "$BOARD" = "dlan-pro-1200-n" ] && (
|
||
|
. /lib/migration/plc-pib.sh
|
||
|
migrate_pib_wifin_1d
|
||
|
)
|
||
|
|
||
|
exit 0
|