sysklogd: add the rc.d scripts and run them by default.
--HG-- extra : convert_revision : 07e704a3e8c999d04305205ad359793d50a29d0c
This commit is contained in:
@@ -27,9 +27,10 @@ Add_dependency full glibc
|
||||
post_install()
|
||||
{
|
||||
local destdir=$XBPS_DESTDIR/$pkgname-$version
|
||||
local filesdir=$XBPS_TEMPLATESDIR/$pkgname/files
|
||||
|
||||
# Create a default syslog.conf.
|
||||
mkdir -p $destdir/etc
|
||||
install -d ${destdir}/etc/rc.d
|
||||
( \
|
||||
echo "auth,authpriv.* -/var/log/auth.log"; \
|
||||
echo "*.*;auth,authpriv.none -/var/log/sys.log"; \
|
||||
@@ -39,4 +40,7 @@ post_install()
|
||||
echo "user.* -/var/log/user.log"; \
|
||||
echo "*.emerg *"; \
|
||||
) > $destdir/etc/syslog.conf
|
||||
|
||||
# Install the rc.d scripts.
|
||||
install -m755 ${filesdir}/* ${destdir}/etc/rc.d
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user