Now also showing the target log file
This commit is contained in:
parent
bfe7cd5238
commit
9bf45f9adb
@ -36,6 +36,7 @@ _info ""
|
||||
|
||||
_info "Script Version: $SCRIPT_VERSION"
|
||||
_info "Detected OS: $OS $VERSION"
|
||||
_info "Logging to file: $LOG_FILE"
|
||||
|
||||
# Check if running as root
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
@ -166,6 +167,11 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
_info "Cleaning up temporary files ..."
|
||||
# TODO
|
||||
_info "Cleanup done!"
|
||||
|
||||
# Display the installation result
|
||||
_info
|
||||
_info "Installation of Zabbix Agent 2 successful!"
|
||||
|
Loading…
Reference in New Issue
Block a user