* Expanded support to Wahab.

Last updated 2021-03-02.
master
Wirawan Purwanto 4 years ago
parent cc95430e06
commit e828a16a49
  1. 14
      turing/admin/wgo

@ -1,7 +1,21 @@
#!/bin/bash
DATETIME=$(date +"%Y%m%d-%H%M%S")
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

Loading…
Cancel
Save