From 12c0d70ac98e0e256ae2d7e62978f50fa9cbfffb Mon Sep 17 00:00:00 2001 From: Helmuth Gronewold Date: Fri, 22 Aug 2014 23:39:19 +0200 Subject: [PATCH] Add a comment about what my sed-script from the previous commit does. --- setup/start.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/start.sh b/setup/start.sh index 824ff859..051b5fab 100755 --- a/setup/start.sh +++ b/setup/start.sh @@ -86,6 +86,7 @@ if [ -z "$PRIMARY_HOSTNAME" ]; then # Take the part after the @-sign as the user's domain name, and add # 'box.' to the beginning to create a default hostname for this machine. + # If there is already a 'box.' in the EMAIL_ADDR, strip it from the string. DEFAULT_PRIMARY_HOSTNAME=box.$(echo $EMAIL_ADDR | sed -e 's/.*@//' -e 's/^box\.//') fi