mirror of
https://github.com/joglomedia/LEMPer.git
synced 2026-04-13 08:28:21 +00:00
fix server security config
This commit is contained in:
@@ -555,12 +555,10 @@ echo "[LEMPer Basic Server Security]"
|
||||
|
||||
# Start running things from a call at the end so if this script is executed
|
||||
# after a partial download it doesn't do anything.
|
||||
if [[ "${1}" == "install" ]]; then
|
||||
init_secure_server "$@"
|
||||
elif [[ "${1}" == "remove" || "${1}" == "uninstall" ]]; then
|
||||
if [[ "${1}" == "remove" || "${1}" == "uninstall" ]]; then
|
||||
remove_apf
|
||||
remove_csf
|
||||
remove_ufw
|
||||
else
|
||||
error "command is required." >&2
|
||||
init_secure_server "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user