* Expanded support to Wahab.

Last updated 2021-03-02.
This commit is contained in:
Wirawan Purwanto
2021-06-29 13:25:15 -04:00
parent cc95430e06
commit e828a16a49

View File

@@ -1,7 +1,21 @@
#!/bin/bash
DATETIME=$(date +"%Y%m%d-%H%M%S")
LOGDIR=$HOME/admin/login-patrol/turing
CLUSTER=$(cat /etc/cluster)
case "$CLUSTER" in
turing)
LOGDIR=$HOME/admin/login-patrol/turing
;;
wahab)
LOGDIR=$HOME/admin/login-patrol/wahab
;;
*)
echo "Error: unsupported cluster: $CLUSTER" >&2
exit 2
;;
esac
whats_going_on () {
date