]> code.delx.au - monosys/blob - healthcheck/run-all
healthcheck: don't check for updates
[monosys] / healthcheck / run-all
1 #!/bin/bash
2
3 . /etc/os-release
4 . ~/.bashrc
5
6 set -eu
7 cd "$(dirname "$(readlink -f "$0")")"
8
9 for i in ./*; do
10 if [ "$(basename "$i")" != "$(basename "$0")" ]; then
11 if ! "$i"; then
12 echo -e "\n^^ FAILED! $(hostname) $PRETTY_NAME -- $i ^^\n"
13 exit 1
14 fi
15 fi
16 done