]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Make logger calls resemble dhcpcd calls to syslog(3).
authorRoy Marples <roy@marples.name>
Tue, 22 Mar 2011 12:49:06 +0000 (12:49 +0000)
committerRoy Marples <roy@marples.name>
Tue, 22 Mar 2011 12:49:06 +0000 (12:49 +0000)
dhcpcd-run-hooks.in

index cb897b4f6cfbc2fc2478b8402876725d82054e7c..7a72041ca0f781021110bfbff322665679e6c3e3 100644 (file)
@@ -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
 }