Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0d2490765f
Fetching contributors…

Cannot retrieve contributors at this time

executable file 24 lines (20 sloc) 0.275 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#!/bin/bash

source bin/common

HOSTS=`cat conf/hosts.conf`

if [[ $1 == "sync" ]]; then
  $SYNC
fi
if [[ $1 == "check" ]]; then
  $JUDGE
fi
if [[ $1 == "report" ]]; then
  $REPORT
fi
if [[ $1 == "" ]]; then
  $SYNC
  if [[ $? == 0 ]]; then
    echo
    $JUDGE
  fi
fi

exit
Something went wrong with that request. Please try again.