diff --git a/ProjectCode/Modules/Security/secharden-ssh.sh b/ProjectCode/Modules/Security/secharden-ssh.sh index 47ead63..9060b8b 100644 --- a/ProjectCode/Modules/Security/secharden-ssh.sh +++ b/ProjectCode/Modules/Security/secharden-ssh.sh @@ -1,8 +1,5 @@ #!/bin/bash -echo $ProjectRootPath - - #Framework variables are read from hee source $FRAMEWORK_CONFIGS_FULL_PATH/FrameworkVars diff --git a/ProjectCode/SetupNewSystem.sh b/ProjectCode/SetupNewSystem.sh index aeb2885..58fb016 100644 --- a/ProjectCode/SetupNewSystem.sh +++ b/ProjectCode/SetupNewSystem.sh @@ -343,7 +343,9 @@ function secharden-ssh() { print_info "Now running "$FUNCNAME"" +cd ./Modules/Security bash ./Modules/Security/secharden-ssh.sh|$(which bash) +cd - print_info "Completed running "$FUNCNAME"" }