mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
load fix
This commit is contained in:
parent
103d39ff52
commit
0a8c971437
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue