2016-04-01 09:32:17 +02:00
|
|
|
# CIS Debian 7 Hardening common functions
|
|
|
|
|
|
|
|
logger() {
|
|
|
|
test -z "$SCRIPT_NAME" && SCRIPT_NAME=$(basename $0)
|
2016-04-01 09:52:39 +02:00
|
|
|
/usr/bin/logger -i -t "$SCRIPT_NAME" -p "user.info" "$*"
|
|
|
|
test -t 1 && echo "$*"
|
2016-04-01 09:32:17 +02:00
|
|
|
}
|