Skip to content

Commit

Permalink
Update packages/bsp/common/etc/update-motd.d/10-armbian-header
Browse files Browse the repository at this point in the history
Co-authored-by: Fridtjof Mund <[email protected]>
  • Loading branch information
igorpecovnik and fridtjof authored Feb 19, 2025
1 parent 7f2752f commit 2a71a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bsp/common/etc/update-motd.d/10-armbian-header
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ echo -e "\e[1;91m$(figlet -f small " $VENDOR")\e[0m";

# Read RPI model from cpuinfo
if [[ $BOARD == rpi4b ]]; then
BOARD_NAME=$(grep "Model" /proc/cpuinfo | sed -E 's/^Rev //; s/ Rev [0-9.]+$//' | cut -d":" -f2 | xargs)
BOARD_NAME=$(cat /proc/device-tree/model | tr '\0' '\n' | sed -E 's/ Rev [0-9.]+$//')
fi

# Display version, board, and kernel version
Expand Down

0 comments on commit 2a71a27

Please sign in to comment.