mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-22 02:33:42 +02:00
hardening : building basic configuration
This commit is contained in:
@ -2,6 +2,6 @@
|
||||
|
||||
logger() {
|
||||
test -z "$SCRIPT_NAME" && SCRIPT_NAME=$(basename $0)
|
||||
logger -i -t "$SCRIPT_NAME" -p "user.info" "$(date +%Y.%m.%d-%H:%M:%S) $*"
|
||||
test -t 1 && echo "$(date +%Z-%Y.%m.%d-%H:%M:%S) $*"
|
||||
/usr/bin/logger -i -t "$SCRIPT_NAME" -p "user.info" "$*"
|
||||
test -t 1 && echo "$*"
|
||||
}
|
||||
|
Reference in New Issue
Block a user