mirror of https://github.com/aredn/aredn.git
aredn: add new mikrotik model string for LHG based devices
new model string: MikroTik RouterBOARD RBLHG-5HPnD
This commit is contained in:
parent
e4a0c996ff
commit
29a56b8850
|
@ -1312,6 +1312,15 @@ sub hardware_info
|
||||||
'usechains' => 1,
|
'usechains' => 1,
|
||||||
'rfband' => '5800ubntus',
|
'rfband' => '5800ubntus',
|
||||||
},
|
},
|
||||||
|
'MikroTik RouterBOARD RBLHG-5HPnD' => {
|
||||||
|
'name' => 'MikroTik RouterBOARD RBLHG-5HPnD',
|
||||||
|
'comment' => '',
|
||||||
|
'supported' => '1',
|
||||||
|
'maxpower' => '28',
|
||||||
|
'pwroffset' => '0',
|
||||||
|
'usechains' => 1,
|
||||||
|
'rfband' => '5800ubntus',
|
||||||
|
},
|
||||||
'MikroTik RouterBOARD LHG 5HPnD-XL' => {
|
'MikroTik RouterBOARD LHG 5HPnD-XL' => {
|
||||||
'name' => 'MikroTik RouterBOARD LHG 5HPnD-XL',
|
'name' => 'MikroTik RouterBOARD LHG 5HPnD-XL',
|
||||||
'comment' => '',
|
'comment' => '',
|
||||||
|
|
|
@ -26,7 +26,7 @@ Index: openwrt/target/linux/ar71xx/base-files/etc/diag.sh
|
||||||
===================================================================
|
===================================================================
|
||||||
--- openwrt.orig/target/linux/ar71xx/base-files/etc/diag.sh
|
--- openwrt.orig/target/linux/ar71xx/base-files/etc/diag.sh
|
||||||
+++ openwrt/target/linux/ar71xx/base-files/etc/diag.sh
|
+++ openwrt/target/linux/ar71xx/base-files/etc/diag.sh
|
||||||
@@ -378,6 +378,7 @@ get_status_led() {
|
@@ -379,6 +379,7 @@ get_status_led() {
|
||||||
rb-952ui-5ac2nd|\
|
rb-952ui-5ac2nd|\
|
||||||
rb-962uigs-5hact2hnt|\
|
rb-962uigs-5hact2hnt|\
|
||||||
rb-lhg-5nd|\
|
rb-lhg-5nd|\
|
||||||
|
@ -52,6 +52,16 @@ Index: openwrt/target/linux/ar71xx/base-files/lib/ar71xx.sh
|
||||||
*"LHG 5HPnD-XL")
|
*"LHG 5HPnD-XL")
|
||||||
name="rb-lhg-5hpnd-xl"
|
name="rb-lhg-5hpnd-xl"
|
||||||
;;
|
;;
|
||||||
|
@@ -565,6 +569,9 @@ mikrotik_board_detect() {
|
||||||
|
*"wAPG-5HacT2HnD")
|
||||||
|
name="rb-wapg-5hact2hnd"
|
||||||
|
;;
|
||||||
|
+ *"RBLHG-5HPnD")
|
||||||
|
+ name="rb-lhg-5hpnd"
|
||||||
|
+ ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
echo "$name"
|
||||||
Index: openwrt/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
|
Index: openwrt/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
|
||||||
===================================================================
|
===================================================================
|
||||||
--- openwrt.orig/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
|
--- openwrt.orig/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
|
||||||
|
|
Loading…
Reference in New Issue