check-config: custom configs

This commit is contained in:
cytopia 2020-11-20 15:09:21 +01:00
parent 9660c37937
commit fe54bbf714
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -817,6 +817,12 @@ if find "autostart" | grep -E '\.sh$' >/dev/null; then
CUSTOMIZATIONS=$(( CUSTOMIZATIONS + 1 ))
fi
# bash/
if find "bash" | grep -E '\.sh$' >/dev/null; then
log_note "[bash] Custom script present in bash/"
CUSTOMIZATIONS=$(( CUSTOMIZATIONS + 1 ))
fi
# Total?
if [ "${CUSTOMIZATIONS}" = "0" ]; then
log_info "No custom configurations applied"