Remove unused function
This commit is contained in:
parent
5c6f5ee785
commit
2378256c9c
|
@ -428,46 +428,6 @@ function validate_domain_name {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function save_configuration_file {
|
|
||||||
echo "MY_USERNAME=$MY_USERNAME" > freedombone.cfg
|
|
||||||
echo "DOMAIN_NAME=$DOMAIN_NAME" >> freedombone.cfg
|
|
||||||
echo "MY_EMAIL_ADDRESS=$MY_EMAIL_ADDRESS" >> freedombone.cfg
|
|
||||||
echo "SYSTEM_TYPE=$SYSTEM_TYPE" >> freedombone.cfg
|
|
||||||
echo "INSTALLING_ON_BBB=$INSTALLING_ON_BBB" >> freedombone.cfg
|
|
||||||
echo "DDNS_PROVIDER=$DDNS_PROVIDER" >> freedombone.cfg
|
|
||||||
echo "DDNS_USERNAME=$DDNS_USERNAME" >> freedombone.cfg
|
|
||||||
# does this need to be saved?
|
|
||||||
echo "DDNS_PASSWORD=$DDNS_PASSWORD" >> freedombone.cfg
|
|
||||||
echo "MY_NAME=$MY_NAME" >> freedombone.cfg
|
|
||||||
echo "LOCAL_NETWORK_STATIC_IP_ADDRESS=$LOCAL_NETWORK_STATIC_IP_ADDRESS" >> freedombone.cfg
|
|
||||||
echo "ROUTER_IP_ADDRESS=$ROUTER_IP_ADDRESS" >> freedombone.cfg
|
|
||||||
echo "ENABLE_CJDNS=$ENABLE_CJDNS" >> freedombone.cfg
|
|
||||||
echo "DEBIAN_REPO=$DEBIAN_REPO" >> freedombone.cfg
|
|
||||||
echo "NAMESERVER1=$NAMESERVER1" >> freedombone.cfg
|
|
||||||
echo "NAMESERVER2=$NAMESERVER1" >> freedombone.cfg
|
|
||||||
if [ $WIKI_TITLE ]; then
|
|
||||||
echo "WIKI_TITLE=$WIKI_TITLE" >> freedombone.cfg
|
|
||||||
fi
|
|
||||||
if [ $WIKI_DOMAIN_NAME ]; then
|
|
||||||
echo "WIKI_DOMAIN_NAME=$WIKI_DOMAIN_NAME" >> freedombone.cfg
|
|
||||||
fi
|
|
||||||
if [ $MY_BLOG_TITLE ]; then
|
|
||||||
echo "MY_BLOG_TITLE=$MY_BLOG_TITLE" >> freedombone.cfg
|
|
||||||
fi
|
|
||||||
if [ $FULLBLOG_DOMAIN_NAME ]; then
|
|
||||||
echo "FULLBLOG_DOMAIN_NAME=$FULLBLOG_DOMAIN_NAME" >> freedombone.cfg
|
|
||||||
fi
|
|
||||||
if [ $OWNCLOUD_DOMAIN_NAME ]; then
|
|
||||||
echo "OWNCLOUD_DOMAIN_NAME=$OWNCLOUD_DOMAIN_NAME" >> freedombone.cfg
|
|
||||||
fi
|
|
||||||
if [ $REDMATRIX_DOMAIN_NAME ]; then
|
|
||||||
echo "REDMATRIX_DOMAIN_NAME=$REDMATRIX_DOMAIN_NAME" >> freedombone.cfg
|
|
||||||
fi
|
|
||||||
if [ $MICROBLOG_DOMAIN_NAME ]; then
|
|
||||||
echo "MICROBLOG_DOMAIN_NAME=$MICROBLOG_DOMAIN_NAME" >> freedombone.cfg
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
function interactive_configuration {
|
function interactive_configuration {
|
||||||
if [ ! -f /usr/local/bin/freedombone-config ]; then
|
if [ ! -f /usr/local/bin/freedombone-config ]; then
|
||||||
if [ ! -f /usr/bin/freedombone-config ]; then
|
if [ ! -f /usr/bin/freedombone-config ]; then
|
||||||
|
|
Loading…
Reference in New Issue