1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00

$OS had been typo'd in original, as "OS"

This commit is contained in:
A Holt 2017-12-13 02:52:14 -05:00 committed by GitHub
parent f9593392e1
commit 85c16b384c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ End=`date`
# Record critical diagnostics to [/opt/iiab/iiab/]iiab-network.log
echo "" >> iiab-network.log
# redhat path
if [ "OS" == "centos" ] || [ "OS" == "fedora" ]; then
if [ $OS == "centos" ] || [ $OS == "fedora" ]; then
ls -la /etc/sys*/net*/ifcfg* >> iiab-network.log
fi
# Ubuntu desktop might be using NM - split out.