mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-22 21:49:22 -05:00
17 lines
256 B
Bash
Executable File
17 lines
256 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o errexit
|
|
|
|
user=root
|
|
|
|
. hosts.sh
|
|
|
|
rm -rf units
|
|
mkdir -p units
|
|
|
|
for host in ${hosts_all[@]}; do
|
|
echo $host
|
|
ssh root@$host systemctl list-unit-files --state=enabled --state=disabled --state=masked | sort > units/$host
|
|
echo
|
|
done
|