1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

vertical spacing of diags fixed in iiab-network.log & live output

This commit is contained in:
A Holt 2017-12-13 07:19:44 -05:00 committed by GitHub
parent 896cb06940
commit d7cd912d87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,25 +49,27 @@ fi
#if [[ `type -P nmcli` ]]; then # "type -P" isn't POSIX compliant; it misses built-in commands like "cd"
if [[ `command -v nmcli` ]]; then # "command -v" is POSIX compliant; it catches built-in commands like "cd"
nmcli d >> iiab-network.log
echo >> iiab-network.log
nmcli c >> iiab-network.log
fi
echo "" >> iiab-network.log
ip r >> iiab-network.log
echo "" >> iiab-network.log
brctl show >> iiab-network.log
echo >> iiab-network.log
echo "run start: $Start" >> iiab-network.log
echo "run end: $End" >> iiab-network.log
echo "" >> iiab-network.log
echo "" >> iiab-network.log
echo >> iiab-network.log
echo >> iiab-network.log
# Put the same diagnostics on screen, for live operator
if [[ `command -v nmcli` ]]; then
nmcli d
echo
nmcli c
fi
ip r
brctl show
echo
echo "run start: $Start"
echo "run end: $End"