aboutsummaryrefslogtreecommitdiffstats
path: root/main/sysklogd/sysklogd.post-install
blob: b4eda2092af4159190bda6c6f4f7ed44fd56b749 (plain)
1
2
3
4
5
6
7
#!/bin/sh
INIT=syslog
RUNLEVEL=`rc-update show | grep $INIT | awk '{ print $3 }'`
if [ -n "$RUNLEVEL" ]; then
	rc-update del $INIT $RUNLEVEL &>/dev/null
	rc-update add sysklogd $RUNLEVEL &>/dev/null
fi