- Logs updated
- root password change made possible from non-root user

Readme
- Added Screenshots
- Added FAQ section with - Non-Idempotency explained, rerun consequences expained, Listed all files that script edits and creates, Explained how to execute as non-root user
- Examples refined
- Informed that no software is even uninstalled
-
This commit is contained in:
Pratik
2019-02-13 22:57:10 +05:30
parent 0aa7b9e3b6
commit 914ac35cb2
2 changed files with 137 additions and 36 deletions

View File

@@ -343,7 +343,6 @@ function log_revert_error(){
center_err_text "!!! Error restoring changes !!!"
center_err_text "!!! You may have to manually fix this !!!"
center_err_text "!!! Check the log file for details !!!"
center_reg_text "Log file at ${LOGFILE}"
echo
}
@@ -1143,6 +1142,7 @@ setup_step_start "${STEP_TEXT[9]}"
# Check if we created a schedule already
if [[ -f $dailycron_filename ]] ; then
file_log "$dailycron_filename file already exists. Skipping this step..."
update_step_status "${STEP_TEXT[9]}" 0
else
# If not created already - create one into the file
@@ -1179,7 +1179,7 @@ if [[ $RESET_ROOT_PWD == 'y' ]]; then
# Change root's password
file_log "Setting the new root password"
echo -e "${PASS_ROOT}\\n${PASS_ROOT}" | passwd
echo -e "${PASS_ROOT}\\n${PASS_ROOT}" | passwd root
set_exit_code $?
} 2>> "$LOGFILE" >&2