summaryrefslogtreecommitdiff
path: root/repo/system/sysklogd.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-06 14:45:21 +0000
committerdavidovski <david@davidovski.xyz>2022-02-06 14:45:21 +0000
commit9f85b0878f307141bd5ca57a0e3500409219115c (patch)
tree63d55ae2b156a99b168b5f6b4e8e871a45823e8e /repo/system/sysklogd.xibuild
parent31723b3943baa14269be93abcb03e1ffe44a3407 (diff)
made changes to acpid
Diffstat (limited to 'repo/system/sysklogd.xibuild')
-rw-r--r--repo/system/sysklogd.xibuild14
1 files changed, 14 insertions, 0 deletions
diff --git a/repo/system/sysklogd.xibuild b/repo/system/sysklogd.xibuild
index 69b389f..a9e5d86 100644
--- a/repo/system/sysklogd.xibuild
+++ b/repo/system/sysklogd.xibuild
@@ -13,4 +13,18 @@ build () {
package () {
make DESTDIR=$PKG_DEST install
+ mkdir -pv $PKG_DEST/etc
+ cat > $PKG_DEST/etc/syslog.conf << "EOF"
+# Begin /etc/syslog.conf
+
+auth,authpriv.* -/var/log/auth.log
+*.*;auth,authpriv.none -/var/log/sys.log
+daemon.* -/var/log/daemon.log
+kern.* -/var/log/kern.log
+mail.* -/var/log/mail.log
+user.* -/var/log/user.log
+*.emerg *
+
+# End /etc/syslog.conf
+EOF
}