merge the logrotate scripts
This commit is contained in:
@@ -18,8 +18,7 @@ scripts=("${SOURCE_DIR}/src/scripts/rmappdir.sh" \
|
||||
"${SOURCE_DIR}/src/scripts/configurecollectd.sh" \
|
||||
"${SOURCE_DIR}/src/scripts/authorized_keys.sh" \
|
||||
"${SOURCE_DIR}/src/scripts/node.sh" \
|
||||
"${SOURCE_DIR}/src/scripts/mvlogrotateconfig.sh" \
|
||||
"${SOURCE_DIR}/src/scripts/rmlogrotateconfig.sh")
|
||||
"${SOURCE_DIR}/src/scripts/configurelogrotate.sh")
|
||||
|
||||
for script in "${scripts[@]}"; do
|
||||
if [[ $(sudo -n "${script}" --check 2>/dev/null) != "OK" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user