Exclude cjdns from config file if it is not specified

This commit is contained in:
Bob Motram 2015-02-08 19:40:10 +00:00
parent 0a9fee1639
commit 4373631f0a
1 changed files with 3 additions and 1 deletions

View File

@ -145,7 +145,9 @@ function save_configuration_file {
echo "MY_EMAIL_ADDRESS=$MY_EMAIL_ADDRESS" >> $CONFIGURATION_FILE
echo "LOCAL_NETWORK_STATIC_IP_ADDRESS=$LOCAL_NETWORK_STATIC_IP_ADDRESS" >> $CONFIGURATION_FILE
echo "ROUTER_IP_ADDRESS=$ROUTER_IP_ADDRESS" >> $CONFIGURATION_FILE
if [ $ENABLE_CJDNS ]; then
echo "ENABLE_CJDNS=$ENABLE_CJDNS" >> $CONFIGURATION_FILE
fi
echo "DEBIAN_REPO=$DEBIAN_REPO" >> $CONFIGURATION_FILE
echo "NAMESERVER1=$NAMESERVER1" >> $CONFIGURATION_FILE
echo "NAMESERVER2=$NAMESERVER2" >> $CONFIGURATION_FILE