diff --git a/files/www/cgi-bin/perlfunc.pm b/files/www/cgi-bin/perlfunc.pm index 3b60431d..db2c2f01 100644 --- a/files/www/cgi-bin/perlfunc.pm +++ b/files/www/cgi-bin/perlfunc.pm @@ -1165,6 +1165,15 @@ sub hardware_info 'usechains' => 1, 'rfband' => '5800ubntus', }, + 'MikroTik RouterBOARD RBLDF-5nD' => { + 'name' => 'MikroTik RouterBOARD RBLDF-5nD', + 'comment' => '', + 'supported' => '1', + 'maxpower' => '25', + 'pwroffset' => '0', + 'usechains' => 1, + 'rfband' => '5800ubntus', + }, 'MikroTik RouterBOARD LHG 5nD' => { 'name' => 'MikroTik RouterBOARD LHG 5nD', 'comment' => '', diff --git a/patches/004-add-ldf-5nd.patch b/patches/004-add-ldf-5nd.patch index a99bc7d8..3b70235b 100644 --- a/patches/004-add-ldf-5nd.patch +++ b/patches/004-add-ldf-5nd.patch @@ -40,12 +40,15 @@ Index: openwrt/target/linux/ar71xx/base-files/lib/ar71xx.sh =================================================================== --- openwrt.orig/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ openwrt/target/linux/ar71xx/base-files/lib/ar71xx.sh -@@ -1121,6 +1121,9 @@ ar71xx_board_detect() { +@@ -1121,6 +1121,12 @@ ar71xx_board_detect() { *"RouterBOARD LHG 5HPnD-XL") name="rb-lhg-5hpnd-xl" ;; + *"RouterBOARD LDF-5nD") + name="rb-ldf-5nd" ++ ;; ++ *"RouterBOARD RBLDF-5nD") ++ name="rb-ldf-5nd" + ;; *"RouterBOARD mAP 2nD") name="rb-map-2nd"