github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/go/apps/simpleexample/SimpleDomain/initsimpleexampletpm1 (about)

     1  #
     2  source ./defines
     3  
     4  if [[ -e $DOMAINTPM1 ]]
     5  then
     6    echo "$DOMAINTPM1 exists"
     7  else
     8    mkdir $DOMAINTPM1
     9    mkdir $DOMAINTPM1/policy_keys
    10    echo "$DOMAIN created"
    11  fi
    12  
    13  if [[ -e $TEMPLATETPM1 ]]
    14  then
    15    echo "$TEMPLATETPM1 exists"
    16  else
    17    cp $OLD_TEMPLATETPM1 $TEMPLATETPM1
    18    echo "$OLDTEMPLATETPM1 copied to $TEMPLATETPM1"
    19  fi
    20  
    21  if [[ -e $DOMAINTPM1/linux_tao_host ]]
    22  then
    23    echo "$DOMAINTPM1/linux_tao_host exists"
    24  else
    25    mkdir $DOMAINTPM1/linux_tao_host
    26    echo "$DOMAINTPM1/linux_tao_host created"
    27  fi
    28