mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-21 21:17:00 +01:00
8 lines
249 B
Bash
8 lines
249 B
Bash
# CIS Debian 7 Hardening common functions
|
|
|
|
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) $*"
|
|
}
|