Browse Source

#673 fix stresstest

v1.3
Christian Rotzoll 6 years ago
parent
commit
efdb5fa9fe
  1. 2
      home.admin/config.scripts/blitz.stresstest.sh

2
home.admin/config.scripts/blitz.stresstest.sh

@ -30,7 +30,7 @@ echo "RaspiBlitz Hardwaretest v0.2" >&2
# detect hardware version of RaspberryPi
# https://www.unixtutorial.org/command-to-confirm-raspberry-pi-model
raspberryPi=${cat /proc/device-tree/model | cut -d " " -f 3 | sed 's/[^0-9]*//g'}
raspberryPi=$(cat /proc/device-tree/model | cut -d " " -f 3 | sed 's/[^0-9]*//g')
if [ ${#raspberryPi} -eq 0 ]; then
raspberryPi=0
fi

Loading…
Cancel
Save