]> code.delx.au - monosys/blobdiff - healthcheck/run-all
wifi-scan: alternate form of channel
[monosys] / healthcheck / run-all
index 2d57d516201bda32511305a9847bfaa4e1873615..12eac5e5f9048422231561f6b89cd03928299667 100755 (executable)
@@ -1,13 +1,13 @@
 #!/bin/bash
 
-set -eu
-
 . /etc/os-release
+. ~/.bashrc
 
+set -eu
 cd "$(dirname "$(readlink -f "$0")")"
 
 for i in ./*; do
-    if [ "$i" != "$(basename "$0")" ]; then
+    if [ "$(basename "$i")" != "$(basename "$0")" ]; then
         if ! "$i"; then
             echo -e "\n^^ FAILED! $(hostname) $PRETTY_NAME -- $i ^^\n"
             exit 1