iup: improve the message logging function

This commit is contained in:
Alex Oprea 2017-01-30 15:06:35 +01:00
parent 7074b1ad67
commit ca38833cf2

View file

@ -27,7 +27,7 @@ MAC=${MAC// /}
MAC=$(echo $MAC | tr '[a-z]' '[A-Z]')
v() {
[ "$VERBOSE" -ge 1 ] && logger -t iup "$@"
[ "$VERBOSE" -ge 1 ] && logger -s -t $0[$$] "$@" 2>&1 | tee /dev/console
}
if [ -f $IUPMD5 ]; then