Clean up bash profile

This commit is contained in:
Mike Reeves
2020-07-13 11:08:04 -04:00
parent a6cceef986
commit 14faa3b898
2 changed files with 8 additions and 6 deletions

View File

@@ -656,12 +656,14 @@ detect_os() {
} }
disable_onion_user() { disable_auto_start() {
# Disable the default account cause security.
usermod -L onion
# Remove the automated setup script from crontab, if it exists # Remove the automated setup script from crontab, if it exists
crontab -u onion -r crontab -u $USER -r
# Truncate last line of the bash profile
sed -i '$ d' /home/$USER/.bash_profile
} }
disable_misc_network_features() { disable_misc_network_features() {

View File

@@ -342,7 +342,7 @@ if [[ "$setup_type" == 'iso' ]]; then
set_management_interface set_management_interface
#add_admin_user #add_admin_user
#disable_onion_user disable_auto_start
fi fi
{ {