extend info fetching to sysctl values

This commit is contained in:
Daniel Micay 2024-07-24 16:58:00 -04:00
parent 80d15552dd
commit edfe1fae10
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
/authorized_keys /authorized_keys
/passwords/ /passwords/
/modules/ /modules/
/sysctl/
/units/ /units/
/logs/ /logs/
*.tmp *.tmp

View File

@ -14,6 +14,7 @@ for host in ${hosts_all[@]}; do
ssh root@$host lsmod | awk '{ print $1 }' | sort > modules/$host ssh root@$host lsmod | awk '{ print $1 }' | sort > modules/$host
ssh root@$host pacman -Qqe > packages/$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 systemctl list-unit-files --state=enabled --state=disabled --state=masked | sort > units/$host
ssh root@$host sysctl -a | sort > sysctl/$host
) & ) &
done done