mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
fix ifconfig PATH
This commit is contained in:
@@ -73,8 +73,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# get network traffic
|
# get network traffic
|
||||||
network_rx=$(ifconfig eth0 | grep 'RX packets' | awk '{ print $6$7 }' | sed 's/[()]//g')
|
network_rx=$(/sbin/ifconfig eth0 | grep 'RX packets' | awk '{ print $6$7 }' | sed 's/[()]//g')
|
||||||
network_tx=$(ifconfig eth0 | grep 'TX packets' | awk '{ print $6$7 }' | sed 's/[()]//g')
|
network_tx=$(/sbin/ifconfig eth0 | grep 'TX packets' | awk '{ print $6$7 }' | sed 's/[()]//g')
|
||||||
|
|
||||||
# Bitcoin blockchain
|
# Bitcoin blockchain
|
||||||
btc_path=$(command -v ${network}-cli)
|
btc_path=$(command -v ${network}-cli)
|
||||||
|
Reference in New Issue
Block a user