mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-01 00:18:10 +02:00
load fix
This commit is contained in:
parent
103d39ff52
commit
0a8c971437
@ -19,7 +19,7 @@ bitcoin_dir="/home/bitcoin/.${network}"
|
||||
lnd_dir="/home/bitcoin/.lnd"
|
||||
|
||||
# get uptime & load
|
||||
load=$(w | head -n 1 | cut -d ':' -f4)
|
||||
load=$(w | head -n 1 | cut -d 'v' -f2 | cut -d ':' -f2)
|
||||
|
||||
# get CPU temp
|
||||
cpu=$(cat /sys/class/thermal/thermal_zone0/temp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user