This commit is contained in:
Mike Reeves
2020-08-20 13:26:22 -04:00

View File

@@ -714,7 +714,8 @@ disable_auto_start() {
logCmd "crontab -u $INSTALLUSERNAME -r"
# Truncate last line of the bash profile
logCmd "sed -i '$ d' /home/$INSTALLUSERNAME/.bash_profile"
info "Removing auto-run of setup from bash profile"
sed -i '$ d' /home/$INSTALLUSERNAME/.bash_profile >> "$setup_log" 2>&1
}