Domain name
This commit is contained in:
parent
35c76bb980
commit
b58d932fda
|
@ -266,59 +266,59 @@ function save_configuration_file {
|
||||||
if [ $HUBZILLA_CODE ]; then
|
if [ $HUBZILLA_CODE ]; then
|
||||||
echo "HUBZILLA_CODE=$HUBZILLA_CODE" >> $CONFIGURATION_FILE
|
echo "HUBZILLA_CODE=$HUBZILLA_CODE" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ $MICROBLOG_DOMAIN_NAME ]; then
|
if [ ${#MICROBLOG_DOMAIN_NAME} -gt 1 ]; then
|
||||||
echo "MICROBLOG_DOMAIN_NAME=$MICROBLOG_DOMAIN_NAME" >> $CONFIGURATION_FILE
|
echo "MICROBLOG_DOMAIN_NAME=$MICROBLOG_DOMAIN_NAME" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ $MICROBLOG_CODE ]; then
|
if [ $MICROBLOG_CODE ]; then
|
||||||
echo "MICROBLOG_CODE=$MICROBLOG_CODE" >> $CONFIGURATION_FILE
|
echo "MICROBLOG_CODE=$MICROBLOG_CODE" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ ${#MICROBLOG_WELCOME_MESSAGE} -gt 1 ]; then
|
if [ ${#MICROBLOG_WELCOME_MESSAGE} -gt 1 ]; then
|
||||||
echo "MICROBLOG_WELCOME_MESSAGE=$MICROBLOG_WELCOME_MESSAGE" >> $CONFIGURATION_FILE
|
echo "MICROBLOG_WELCOME_MESSAGE=$MICROBLOG_WELCOME_MESSAGE" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ $MICROBLOG_BACKGROUND_IMAGE_URL ]; then
|
if [ $MICROBLOG_BACKGROUND_IMAGE_URL ]; then
|
||||||
echo "MICROBLOG_BACKGROUND_IMAGE_URL=$MICROBLOG_BACKGROUND_IMAGE_URL" >> $CONFIGURATION_FILE
|
echo "MICROBLOG_BACKGROUND_IMAGE_URL=$MICROBLOG_BACKGROUND_IMAGE_URL" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ $GIT_DOMAIN_NAME ]; then
|
if [ $GIT_DOMAIN_NAME ]; then
|
||||||
echo "GIT_DOMAIN_NAME=$GIT_DOMAIN_NAME" >> $CONFIGURATION_FILE
|
echo "GIT_DOMAIN_NAME=$GIT_DOMAIN_NAME" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ $GIT_CODE ]; then
|
if [ $GIT_CODE ]; then
|
||||||
echo "GIT_CODE=$GIT_CODE" >> $CONFIGURATION_FILE
|
echo "GIT_CODE=$GIT_CODE" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ $MEDIAGOBLIN_DOMAIN_NAME ]; then
|
if [ $MEDIAGOBLIN_DOMAIN_NAME ]; then
|
||||||
echo "MEDIAGOBLIN_DOMAIN_NAME=$MEDIAGOBLIN_DOMAIN_NAME" >> $CONFIGURATION_FILE
|
echo "MEDIAGOBLIN_DOMAIN_NAME=$MEDIAGOBLIN_DOMAIN_NAME" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ $MEDIAGOBLIN_CODE ]; then
|
if [ $MEDIAGOBLIN_CODE ]; then
|
||||||
echo "MEDIAGOBLIN_CODE=$MEDIAGOBLIN_CODE" >> $CONFIGURATION_FILE
|
echo "MEDIAGOBLIN_CODE=$MEDIAGOBLIN_CODE" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ $HWRNG_TYPE ]; then
|
if [ $HWRNG_TYPE ]; then
|
||||||
echo "HWRNG_TYPE=$HWRNG_TYPE" >> $CONFIGURATION_FILE
|
echo "HWRNG_TYPE=$HWRNG_TYPE" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ $ENABLE_SOCIAL_KEY_MANAGEMENT ]; then
|
if [ $ENABLE_SOCIAL_KEY_MANAGEMENT ]; then
|
||||||
echo "ENABLE_SOCIAL_KEY_MANAGEMENT=$ENABLE_SOCIAL_KEY_MANAGEMENT" >> $CONFIGURATION_FILE
|
echo "ENABLE_SOCIAL_KEY_MANAGEMENT=$ENABLE_SOCIAL_KEY_MANAGEMENT" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ $ESSID ]; then
|
if [ $ESSID ]; then
|
||||||
echo "ESSID=$ESSID" >> $CONFIGURATION_FILE
|
echo "ESSID=$ESSID" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ $BATMAN_CELLID ]; then
|
if [ $BATMAN_CELLID ]; then
|
||||||
echo "BATMAN_CELLID=$BATMAN_CELLID" >> $CONFIGURATION_FILE
|
echo "BATMAN_CELLID=$BATMAN_CELLID" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ $WIFI_CHANNEL ]; then
|
if [ $WIFI_CHANNEL ]; then
|
||||||
echo "WIFI_CHANNEL=$WIFI_CHANNEL" >> $CONFIGURATION_FILE
|
echo "WIFI_CHANNEL=$WIFI_CHANNEL" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ $DH_KEYLENGTH ]; then
|
if [ $DH_KEYLENGTH ]; then
|
||||||
echo "DH_KEYLENGTH=$DH_KEYLENGTH" >> $CONFIGURATION_FILE
|
echo "DH_KEYLENGTH=$DH_KEYLENGTH" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
echo "ONION_ONLY=$ONION_ONLY" >> $CONFIGURATION_FILE
|
echo "ONION_ONLY=$ONION_ONLY" >> $CONFIGURATION_FILE
|
||||||
|
|
||||||
if [ $FRIENDS_MIRRORS_SERVER ]; then
|
if [ $FRIENDS_MIRRORS_SERVER ]; then
|
||||||
echo "FRIENDS_MIRRORS_SERVER=$FRIENDS_MIRRORS_SERVER" >> $CONFIGURATION_FILE
|
echo "FRIENDS_MIRRORS_SERVER=$FRIENDS_MIRRORS_SERVER" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ $FRIENDS_MIRRORS_SSH_PORT ]; then
|
if [ $FRIENDS_MIRRORS_SSH_PORT ]; then
|
||||||
echo "FRIENDS_MIRRORS_SSH_PORT=$FRIENDS_MIRRORS_SSH_PORT" >> $CONFIGURATION_FILE
|
echo "FRIENDS_MIRRORS_SSH_PORT=$FRIENDS_MIRRORS_SSH_PORT" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
if [ $FRIENDS_MIRRORS_PASSWORD ]; then
|
if [ $FRIENDS_MIRRORS_PASSWORD ]; then
|
||||||
echo "FRIENDS_MIRRORS_PASSWORD=$FRIENDS_MIRRORS_PASSWORD" >> $CONFIGURATION_FILE
|
echo "FRIENDS_MIRRORS_PASSWORD=$FRIENDS_MIRRORS_PASSWORD" >> $CONFIGURATION_FILE
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# test a domain name to see if it's valid
|
# test a domain name to see if it's valid
|
||||||
|
|
Loading…
Reference in New Issue