From 05e357cc7aa07926d773166f6cd4322ad354d07a Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 13 Dec 2017 02:57:26 -0500 Subject: [PATCH] Paul Armstrong's Shell Style Guide --- iiab-network | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iiab-network b/iiab-network index f7c14e0b7..a938d5711 100755 --- a/iiab-network +++ b/iiab-network @@ -31,7 +31,9 @@ echo "" >> iiab-network.log if [ $OS == "centos" ] || [ $OS == "fedora" ]; then ls -la /etc/sys*/net*/ifcfg* >> iiab-network.log fi + # Ubuntu desktop might be using NM - split out. +# Paul Armstrong's Shell Style Guide: https://google.github.io/styleguide/shell.xml # if [ $(which nmcli) ]; then # syntax fails when multiple lines returned # if [[ `which nmcli` ]]; then # syntax also works if which nmcli; then # syntax works great, with "grep -q" too!