From 463f903992d300d87ea655438b08f131aeebf1ba Mon Sep 17 00:00:00 2001 From: ravi vaishnav Date: Fri, 11 Jun 2021 12:29:57 -0400 Subject: [PATCH] Wifi-2635. Correcting the Model name format When the manufacturer block does not contain the model info, it is then extracted from /tmp/sysinfo/board_name, stripped off the manufacturer name and converted for all upper case string. Signed-off-by: ravi vaishnav --- feeds/wlan-ap/wlan-ap-config/files/etc/uci-defaults/99-tip-data | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds/wlan-ap/wlan-ap-config/files/etc/uci-defaults/99-tip-data b/feeds/wlan-ap/wlan-ap-config/files/etc/uci-defaults/99-tip-data index b4bcb29a8..e41a774be 100644 --- a/feeds/wlan-ap/wlan-ap-config/files/etc/uci-defaults/99-tip-data +++ b/feeds/wlan-ap/wlan-ap-config/files/etc/uci-defaults/99-tip-data @@ -144,7 +144,7 @@ fi # fallback check to get the model if flash does not contain this info. if [ ! $MODEL ]; then - MODEL=$(cat /tmp/sysinfo/board_name) + MODEL=$(cat /tmp/sysinfo/board_name | cut -d "," -f2 | awk '{print toupper($0)}') fi # Read the active firmware version info