aboutsummaryrefslogtreecommitdiffstats
path: root/wireless-info
diff options
context:
space:
mode:
Diffstat (limited to 'wireless-info')
-rwxr-xr-xwireless-info10
1 files changed, 9 insertions, 1 deletions
diff --git a/wireless-info b/wireless-info
index c666b3a..f6ce2e2 100755
--- a/wireless-info
+++ b/wireless-info
@@ -25,7 +25,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-SCRIPTDATE="2017-03-25 08:04 +0100"
+SCRIPTDATE="2017-12-05 04:13 +0100"
FILEBASE="wireless-info"
OUTPUTDIR="$PWD"
OUTPUTDIRFB="/tmp"
@@ -286,6 +286,14 @@ else
echo "No NetworkManager profiles found."
fi
+printf "\n##### Netplan config ####################\n\n"
+for NPLANFILE in $(find /{lib,etc,run}/netplan -name "*.yaml" 2> /dev/null | sort); do
+ NPLANFLCNT=$(egrep -v '^(#|$)' $NPLANFILE)
+ if [ -n "$NPLANFLCNT" ]; then
+ printf "[%s]\n%s\n\n" "$NPLANFILE" "$NPLANFLCNT"
+ fi
+done
+
printf "\n##### iw reg get ########################\n\n"
if [ -x /sbin/iw ]; then
if IWREGGET=$(iw reg get 2>&1) && [ -f /etc/timezone ]; then