Turn off logging at the very end of installation

This commit is contained in:
Bob Mottram 2016-11-22 23:03:55 +00:00
parent db76d2b45b
commit 0e89b1f01c
1 changed files with 3 additions and 7 deletions

View File

@ -40,13 +40,6 @@ function install_final {
function_check split_gpg_key_into_fragments function_check split_gpg_key_into_fragments
split_gpg_key_into_fragments split_gpg_key_into_fragments
# turn logging off by default
if [[ $ONION_ONLY != 'no' ]]; then
${PROJECT_NAME}-logging off --onion
else
${PROJECT_NAME}-logging off
fi
mark_completed $FUNCNAME mark_completed $FUNCNAME
clear clear
echo '' echo ''
@ -75,11 +68,14 @@ function install_final {
echo '' echo ''
echo $'Shutting down the system. Detatch the ethernet cable, attach wifi dongle, then power on again.' echo $'Shutting down the system. Detatch the ethernet cable, attach wifi dongle, then power on again.'
echo '' echo ''
${PROJECT_NAME}-logging off
shutdown now shutdown now
return return
fi fi
${PROJECT_NAME}-logging off
reboot reboot
fi fi
${PROJECT_NAME}-logging off
} }
function update_installed_apps_list { function update_installed_apps_list {