Browse Source

fix ifconfig PATH

dev
openoms 6 years ago
parent
commit
c310e786bf
  1. 4
      home.admin/00infoBlitz.sh

4
home.admin/00infoBlitz.sh

@ -73,8 +73,8 @@ else
fi
# get network traffic
network_rx=$(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_rx=$(/sbin/ifconfig eth0 | grep 'RX 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
btc_path=$(command -v ${network}-cli)

Loading…
Cancel
Save