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
438 B
Bash
27 lines
438 B
Bash
#!/bin/sh
|
|
|
|
. /lib/functions.sh
|
|
. /lib/functions/migrations.sh
|
|
|
|
board=$(board_name)
|
|
boardonly="${board##*,}"
|
|
|
|
case "$board" in
|
|
mikrotik,routerboard-750gr3)
|
|
migrate_leds "^rb750gr3:=$boardonly:"
|
|
;;
|
|
mikrotik,routerboard-m11g)
|
|
migrate_leds "^rbm11g:=$boardonly:"
|
|
;;
|
|
mikrotik,routerboard-m33g)
|
|
migrate_leds "^rbm33g:=$boardonly:"
|
|
;;
|
|
netgear,wndr3700-v5)
|
|
migrate_leds "^wndr3700v5:=$boardonly:"
|
|
;;
|
|
esac
|
|
|
|
migrations_apply system
|
|
|
|
exit 0
|