mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-06-06 22:18:51 -04:00
clean up stats scripts
This commit is contained in:
parent
15302563f2
commit
6b0eec9218
2 changed files with 2 additions and 4 deletions
|
@ -2,14 +2,13 @@
|
||||||
|
|
||||||
set -o errexit -o nounset -o pipefail
|
set -o errexit -o nounset -o pipefail
|
||||||
|
|
||||||
[[ $# -ge 1 ]] || exit 1
|
[[ $# -eq 1 ]] || exit 1
|
||||||
|
|
||||||
user=root
|
user=root
|
||||||
|
|
||||||
. hosts.sh
|
. hosts.sh
|
||||||
|
|
||||||
declare -n hosts=hosts_$1
|
declare -n hosts=hosts_$1
|
||||||
shift
|
|
||||||
for host in ${hosts[@]}; do
|
for host in ${hosts[@]}; do
|
||||||
echo $host
|
echo $host
|
||||||
echo
|
echo
|
||||||
|
|
|
@ -2,14 +2,13 @@
|
||||||
|
|
||||||
set -o errexit -o nounset -o pipefail
|
set -o errexit -o nounset -o pipefail
|
||||||
|
|
||||||
[[ $# -ge 1 ]] || exit 1
|
[[ $# -eq 1 ]] || exit 1
|
||||||
|
|
||||||
user=root
|
user=root
|
||||||
|
|
||||||
. hosts.sh
|
. hosts.sh
|
||||||
|
|
||||||
declare -n hosts=hosts_$1
|
declare -n hosts=hosts_$1
|
||||||
shift
|
|
||||||
for host in ${hosts[@]}; do
|
for host in ${hosts[@]}; do
|
||||||
echo $host
|
echo $host
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue