summaryrefslogtreecommitdiffstats
path: root/sbin/init.d/klogd
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/init.d/klogd')
-rwxr-xr-xsbin/init.d/klogd11
1 files changed, 11 insertions, 0 deletions
diff --git a/sbin/init.d/klogd b/sbin/init.d/klogd
new file mode 100755
index 0000000..5f4107b
--- /dev/null
+++ b/sbin/init.d/klogd
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+. `dirname $0`/functions
+
+option pidfile reserved_option /var/run/klogd.pid
+option bin reserved_option /sbin/klogd
+option console_level standard_option 4
+option kernel_symbols standard_option /boot/`uname -r`/System.map
+option cmdline reserved_option '$bin ${opt_console_level:+-c $opt_console_level} ${opt_kernel_symbols:+-k $opt_kernel_symbols}'
+
+load_config