Add a comment about what my sed-script from the previous commit does.

This commit is contained in:
Helmuth Gronewold 2014-08-22 23:39:19 +02:00
parent 5826d11385
commit 12c0d70ac9
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ if [ -z "$PRIMARY_HOSTNAME" ]; then
# Take the part after the @-sign as the user's domain name, and add # 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. # '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\.//') DEFAULT_PRIMARY_HOSTNAME=box.$(echo $EMAIL_ADDR | sed -e 's/.*@//' -e 's/^box\.//')
fi fi