mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-22 13:45:02 -05:00
filter irrelevant module output
This commit is contained in:
parent
e581aeafb5
commit
d0e6159220
@ -11,7 +11,7 @@ mkdir -p modules packages units
|
|||||||
|
|
||||||
for host in ${hosts_all[@]}; do
|
for host in ${hosts_all[@]}; do
|
||||||
(
|
(
|
||||||
ssh root@$host lsmod | 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
|
||||||
) &
|
) &
|
||||||
|
Loading…
Reference in New Issue
Block a user