From: Roy Marples Date: Tue, 22 Mar 2011 12:49:06 +0000 (+0000) Subject: Make logger calls resemble dhcpcd calls to syslog(3). X-Git-Tag: v5.2.12~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbaa324edccc579d1c0b20b2cefc8464994699bc;p=thirdparty%2Fdhcpcd.git Make logger calls resemble dhcpcd calls to syslog(3). --- diff --git a/dhcpcd-run-hooks.in b/dhcpcd-run-hooks.in index cb897b4f..7a72041c 100644 --- a/dhcpcd-run-hooks.in +++ b/dhcpcd-run-hooks.in @@ -142,7 +142,7 @@ syslog() [ -n "$lvl" ] && shift if [ -n "$*" ]; then if type logger >/dev/null 2>&1; then - logger -t dhcpcd -p daemon."$lvl" -s "$*" + logger -t dhcpcd -p daemon."$lvl" -is "$interface: $*" fi fi }