mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
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 <ravi.vaishnav@netexperience.com>
This commit is contained in:
committed by
Rick Sommerville
parent
547fb36d78
commit
463f903992
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user