summaryrefslogtreecommitdiff
path: root/debian/etc/klog/run
diff options
context:
space:
mode:
Diffstat (limited to 'debian/etc/klog/run')
-rw-r--r--debian/etc/klog/run6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/etc/klog/run b/debian/etc/klog/run
new file mode 100644
index 0000000..ba6c850
--- /dev/null
+++ b/debian/etc/klog/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+USER=nobody
+exec </proc/kmsg
+exec 2>&1
+test "`uname -r |cut -c1-4`" != '2.6.' || USER=root
+exec chpst -u"$USER" socklog ucspi