aboutsummaryrefslogtreecommitdiffstats
path: root/main/sysklogd/sysklogd.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/sysklogd/sysklogd.post-install')
-rw-r--r--main/sysklogd/sysklogd.post-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/sysklogd/sysklogd.post-install b/main/sysklogd/sysklogd.post-install
new file mode 100644
index 0000000000..498880c53f
--- /dev/null
+++ b/main/sysklogd/sysklogd.post-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+INIT=syslog
+RUNLEVEL=`rc-update show | grep $INIT | awk '{ print $3 }'`
+rc-update del $INIT $RUNLEVEL
+rc-update add sysklogd $RUNLEVEL