From edfe1fae100fef1b2bbbec603f942a1ad71a8504 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 24 Jul 2024 16:58:00 -0400 Subject: [PATCH] extend info fetching to sysctl values --- .gitignore | 1 + fetch-info | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index a594e1a..d32ab74 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ /authorized_keys /passwords/ /modules/ +/sysctl/ /units/ /logs/ *.tmp diff --git a/fetch-info b/fetch-info index ac4fc96..f9cc9b1 100755 --- a/fetch-info +++ b/fetch-info @@ -14,6 +14,7 @@ for host in ${hosts_all[@]}; do ssh root@$host lsmod | awk '{ print $1 }' | sort > modules/$host ssh root@$host pacman -Qqe > packages/$host ssh root@$host systemctl list-unit-files --state=enabled --state=disabled --state=masked | sort > units/$host + ssh root@$host sysctl -a | sort > sysctl/$host ) & done