mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-06-24 14:40:36 -04:00
add information fetch scripts
This commit is contained in:
parent
bb2b23bec3
commit
2bc3eb4857
3 changed files with 48 additions and 0 deletions
16
fetch-modules
Executable file
16
fetch-modules
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -o errexit
|
||||
|
||||
user=root
|
||||
|
||||
. hosts.sh
|
||||
|
||||
rm -rf modules
|
||||
mkdir -p modules
|
||||
|
||||
for host in ${hosts_all[@]}; do
|
||||
echo $host
|
||||
ssh root@$host lsmod | sort > modules/$host
|
||||
echo
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue