* Expanded support to Wahab.

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

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

Loading…
Cancel
Save