Onion only option

This commit is contained in:
Bob Mottram 2015-12-30 21:31:05 +00:00
parent 4ac4f49dc3
commit 69945cf49d
1 changed files with 2 additions and 0 deletions

View File

@ -109,6 +109,7 @@ CONFIGURATION_FILE=
DH_KEYLENGTH=
MINIMAL_INSTALL="yes"
DEFAULT_LANGUAGE='en_GB.UTF-8'
ONION_ONLY="no"
function show_help {
echo ''
@ -270,6 +271,7 @@ function save_configuration_file {
if [ $DH_KEYLENGTH ]; then
echo "DH_KEYLENGTH=$DH_KEYLENGTH" >> $CONFIGURATION_FILE
fi
echo "ONION_ONLY=$ONION_ONLY" >> $CONFIGURATION_FILE
}
# test a domain name to see if it's valid