s4

changeset 88:e475a74e2699

TYPE
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 03 Aug 2015 16:15:49 +0900
parents 573f0d54eb5c
children 15d7f2d34e6a
files s4-start.sh
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/s4-start.sh	Mon Aug 03 16:06:50 2015 +0900
     1.2 +++ b/s4-start.sh	Mon Aug 03 16:15:49 2015 +0900
     1.3 @@ -18,6 +18,7 @@
     1.4  	-h		Show this help
     1.5  	-a ADM		Set ADMIN email address to ADM
     1.6  	-f		Force overwriting
     1.7 +	-g		Guestonly mode(No login required)
     1.8  	-t TYPE		Construction type (defaults to $TYPE)
     1.9  
    1.10  TYPEs are one of directory names in examples except \`common'.
    1.11 @@ -57,7 +58,7 @@
    1.12    exit 1
    1.13  fi
    1.14  
    1.15 -. ./s4-funcs.sh || exit 2
    1.16 +. ./s4-funcs.sh
    1.17  if ! checkdomain $ADMIN; then
    1.18    cat<<EOF 1>&2
    1.19  Administrator's email - $ADMIN - is invalid(host not found).
    1.20 @@ -74,7 +75,7 @@
    1.21    rm -rf templ/*
    1.22  fi
    1.23  mkdir templ
    1.24 -if (cd templ && ln -s ../examples/$type/* .); then
    1.25 +if (cd templ && ln -s ../examples/$TYPE/* .); then
    1.26    if ./s4-init.sh; then
    1.27      cat<<EOF
    1.28  -------- The s4 System Successfully Installed --------