Skip to content

Commit 90855eb

Browse files
committed
make eth0 capitalization across Eth0 IP Config, LLDP, CDP infos. i.e. fix this: http://i.imgur.com/TPXWgup.png
1 parent 7dc327b commit 90855eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

BakeBit/Software/Python/scripts/networkinfo/cdpcleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ OUTPUTFILE="/tmp/cdpneigh.txt"
99
logger "networkinfo script: cleaning CDP neighbour cache files"
1010
echo "No neighbour, takes up to 60 seconds" > "$OUTPUTFILE"
1111
#Tell me if eth0 is down
12-
sudo /sbin/ethtool eth0 | grep -q "Link detected: no" && echo "Eth0 is down" > "$OUTPUTFILE"
12+
sudo /sbin/ethtool eth0 | grep -q "Link detected: no" && echo "eth0 is down" > "$OUTPUTFILE"
1313

1414
#Remove capture file
1515
sudo rm -f "$CAPTUREFILE"

BakeBit/Software/Python/scripts/networkinfo/lldpcleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ OUTPUTFILE="/tmp/lldpneigh.txt"
99
logger "networkinfo script: cleaning LLDP neighbour cache files"
1010
echo "No neighbour, takes up to 60 seconds" > "$OUTPUTFILE"
1111
#Tell me if eth0 is down
12-
sudo /sbin/ethtool eth0 | grep -q "Link detected: no" && echo "Eth0 is down" > "$OUTPUTFILE"
12+
sudo /sbin/ethtool eth0 | grep -q "Link detected: no" && echo "eth0 is down" > "$OUTPUTFILE"
1313

1414
#Remove capture file
1515
sudo rm -f "$CAPTUREFILE"

0 commit comments

Comments
 (0)