parent
7e9f249e11
commit
b97ec3892b
|
@ -466,6 +466,13 @@ function disable_core_dumps {
|
|||
fi
|
||||
}
|
||||
|
||||
function dummy_nologin_command {
|
||||
if [ ! -f /sbin/nologin ]; then
|
||||
echo '#!/bin/bash' > /sbin/nologin
|
||||
chmod +x /sbin/nologin
|
||||
fi
|
||||
}
|
||||
|
||||
function setup_firewall {
|
||||
function_check create_completion_file
|
||||
create_completion_file
|
||||
|
@ -490,6 +497,9 @@ function setup_utils {
|
|||
read_config_param "PROJECT_REPO"
|
||||
write_config_param "PROJECT_REPO" "$PROJECT_REPO"
|
||||
|
||||
function_check dummy_nologin_command
|
||||
dummy_nologin_command
|
||||
|
||||
function_check disable_core_dumps
|
||||
disable_core_dumps
|
||||
|
||||
|
|
Loading…
Reference in New Issue