diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-04-07 10:34:33 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-04-08 13:46:30 +0200 |
commit | f761f4052c411bababed2d2e9d8dc3f43380e4ee (patch) | |
tree | 8436978a65ddb3d5dad2a504f77552a5eb79163f /target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches | |
parent | 48b4aab80cd34682616bf7f12c41e35e27a49504 (diff) | |
download | upstream-f761f4052c411bababed2d2e9d8dc3f43380e4ee.tar.gz upstream-f761f4052c411bababed2d2e9d8dc3f43380e4ee.tar.bz2 upstream-f761f4052c411bababed2d2e9d8dc3f43380e4ee.zip |
ramips: mt7621: harmonize naming scheme for Mikrotik
So far, image/device/board names for Mikrotik devices in mt7621 have
been used quite inconsistently.
This patch harmonizes the naming scheme by applying the same style
as used lately in ath79, i.e. using "RouterBOARD" as separate word
in the model name (instead of RB prefix for the number) and deriving
the board/device name from that (= make lower case and replace spaces
by hyphens).
This style has already been used for most the model/DEVICE_MODEL
variables in mt7621, so this is essentially just adjusting the remaining
variables to that.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches')
-rwxr-xr-x | target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches b/target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches index d3bc85f827..511d9deed8 100755 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches @@ -7,7 +7,7 @@ board_config_update board=$(board_name) case "$board" in -mikrotik,rb750gr3) +mikrotik,routerboard-750gr3) ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "17" ;; telco-electronics,x1) |