Commit caba6544 authored by Leonardo Arena's avatar Leonardo Arena Committed by Natanael Copa

main/sysklogd: automatic configure of service runlevels added

(cherry picked from commit cd8f1d31)
parent 6483fdd3
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sysklogd
pkgver=1.5
pkgrel=3
pkgrel=4
pkgdesc="System and kernel log daemons"
url="http://www.infodrom.org/projects/sysklogd/"
license="GPL BSD"
subpackages="$pkgname-doc"
depends=
makedepends=""
install="sysklogd.post-install sysklogd.pre-deinstall"
source="http://www.infodrom.org/projects/$pkgname/download/$pkgname-$pkgver.tar.gz
sysklogd.logrotate
sysklogd.daily
......
#!/bin/sh
INIT=syslog
RUNLEVEL=`rc-update show | grep $INIT | awk '{ print $3 }'`
rc-update del $INIT $RUNLEVEL
rc-update add sysklogd $RUNLEVEL
#!/bin/sh
INIT=sysklogd
RUNLEVEL=`rc-update show | grep $INIT | awk '{ print $3 }'`
rc-update del $INIT $RUNLEVEL
rc-update add syslog $RUNLEVEL
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment