summaryrefslogtreecommitdiff
path: root/repo/system/sysklogd.xibuild
diff options
context:
space:
mode:
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
}