mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-01-02 10:36:11 -05:00
extend info fetching to sysctl values
This commit is contained in:
parent
80d15552dd
commit
edfe1fae10
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
|||||||
/authorized_keys
|
/authorized_keys
|
||||||
/passwords/
|
/passwords/
|
||||||
/modules/
|
/modules/
|
||||||
|
/sysctl/
|
||||||
/units/
|
/units/
|
||||||
/logs/
|
/logs/
|
||||||
*.tmp
|
*.tmp
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user