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