summaryrefslogtreecommitdiffstats
path: root/main/sysklogd/sysklogd.pre-deinstall
blob: 8a598c05423f25e781f70bf010755b1caeea2163 (plain)
1
2
3
4
5
#!/bin/sh
INIT=sysklogd
RUNLEVEL=`rc-update show | grep $INIT | awk '{ print $3 }'`
rc-update del $INIT $RUNLEVEL &>/dev/null
rc-update add syslog $RUNLEVEL &/dev/null