~pwlars/ubuntu-test-cases/krillin-recovery

« back to all changes in this revision

Viewing changes to scripts/provision.sh

  • Committer: Andy Doan
  • Date: 2014-02-10 17:14:14 UTC
  • Revision ID: andy.doan@canonical.com-20140210171414-tmo8n858codkx1ac
provide an early exit for NETWORK_FILE as well as some documentation

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
        fi
93
93
fi
94
94
 
 
95
if [ ! -f $NETWORK_FILE ] ; then
 
96
        echo "ERROR: NETWORK_FILE, $NETWORK_FILE, not found"
 
97
        exit 1
 
98
fi
 
99
 
95
100
set -x
96
101
[ -d $RESDIR ] && rm -rf $RESDIR
97
102
mkdir -p $RESDIR