Skip to content

Commit

Permalink
Update installer.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmerrell committed Jan 24, 2025
1 parent 8684865 commit 1a69204
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ touch /opt/OpenPod/data/permissions.json
echo "==> OpenPod data files created."

# ------------------------------- Hardware Info ------------------------------ #
hw_controller=$(grep Hardware /proc/cpuinfo | awk '{print $3}')
hw_revision=$(grep Revision /proc/cpuinfo | awk '{print $3}')
hw_model=$(grep Model /proc/cpuinfo | cut -d':' -f2 | sed 's/^\s*//')
hw_serial=$(grep Serial /proc/cpuinfo | awk '{print $3}')
hw_controller=$(grep Hardware < /proc/cpuinfo | cut -d ' ' -f 2)
hw_revision=$(grep Revision < /proc/cpuinfo | cut -d ' ' -f 2)
hw_serial=$(grep Serial < /proc/cpuinfo | cut -d ' ' -f 2)
hw_model=$(grep Model < /proc/cpuinfo | cut -d ' ' -f 2)

echo "==> Hardware Info:"
echo " Controller: $hw_controller"
Expand Down

0 comments on commit 1a69204

Please sign in to comment.