aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcpcd/busybox-logger.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-24 12:58:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-24 12:58:11 +0000
commit2d21e431c0ea156a0fb7cb53612ee1baa1142e69 (patch)
tree84d53e6faa37009b0e7c862e7ef7a756fc78bbfe /main/dhcpcd/busybox-logger.patch
parent1b8c60badd924a55980c3d6f296a402e8e64155f (diff)
downloadaports-2d21e431c0ea156a0fb7cb53612ee1baa1142e69.tar.bz2
aports-2d21e431c0ea156a0fb7cb53612ee1baa1142e69.tar.xz
main/dhcpcd: make it work with busybox logger
busybox logger does not implement -i so we simply drop that option.
Diffstat (limited to 'main/dhcpcd/busybox-logger.patch')
-rw-r--r--main/dhcpcd/busybox-logger.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/dhcpcd/busybox-logger.patch b/main/dhcpcd/busybox-logger.patch
new file mode 100644
index 0000000000..dca78b00f2
--- /dev/null
+++ b/main/dhcpcd/busybox-logger.patch
@@ -0,0 +1,11 @@
+--- ./dhcpcd-run-hooks.in.orig
++++ ./dhcpcd-run-hooks.in
+@@ -149,7 +149,7 @@
+ [ -n "$lvl" ] && shift
+ if [ -n "$*" ]; then
+ if type logger >/dev/null 2>&1; then
+- logger -t dhcpcd -p daemon."$lvl" -is "$interface: $*"
++ logger -t dhcpcd -p daemon."$lvl" -s "$interface: $*"
+ fi
+ fi
+ }