From efdb5fa9fe4573eb913be1e210fbf6b11d7463bf Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Sat, 29 Jun 2019 16:47:30 +0200 Subject: [PATCH] #673 fix stresstest --- home.admin/config.scripts/blitz.stresstest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/config.scripts/blitz.stresstest.sh b/home.admin/config.scripts/blitz.stresstest.sh index 25df1d5..26cd015 100644 --- a/home.admin/config.scripts/blitz.stresstest.sh +++ b/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