diff --git a/check-status b/check-status index 3863bd9..9f836b1 100644 --- a/check-status +++ b/check-status @@ -47,6 +47,10 @@ for site in ${SITES[@]} ; do site=${res[1]/URL=/} res=${res[2]/RESPONSE=/} + if [ -z $res ] ; then + res='Timeout?' + fi + ! [ -z $comment ] \ && comment="$comment " diff --git a/pct-mclone b/pct-mclone index 711d931..0050838 100644 --- a/pct-mclone +++ b/pct-mclone @@ -80,7 +80,6 @@ done # clone... @ pct clone ${id} ${to} --hostname ${host} @ pct set ${to} -onboot 0 -@ ./make-shares # startup if we stopped... @@ -98,6 +97,8 @@ if ! [ -z $tpl ] ; then @ pct template ${tpl} fi +#---------------------------------------------------------------------- + @ ./make-shares