mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-07-30 01:58:52 -04:00
add disconnect script
This commit is contained in:
parent
858a99a534
commit
051a8bddf7
1 changed files with 16 additions and 0 deletions
16
disconnect
Executable file
16
disconnect
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -o errexit -o nounset -o pipefail
|
||||||
|
|
||||||
|
[[ $# -eq 0 ]] || exit 1
|
||||||
|
|
||||||
|
. hosts.sh
|
||||||
|
|
||||||
|
for host in ${hosts_all[@]}; do
|
||||||
|
echo $host
|
||||||
|
echo
|
||||||
|
|
||||||
|
ssh root@$host -O exit || true
|
||||||
|
|
||||||
|
echo
|
||||||
|
done
|
Loading…
Add table
Add a link
Reference in a new issue