summaryrefslogtreecommitdiff
path: root/repo/system/sysklogd.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-30 00:50:53 +0100
committerdavidovski <david@davidovski.xyz>2022-03-30 00:50:53 +0100
commitffd7994da3b5c8021aa040f6ca4244f391eb9a0a (patch)
tree3492107ce7a1dd98ab64e9a8a5dd6e19fb544a6c /repo/system/sysklogd.xibuild
parentd28d2287b138ede0591d9facd5dbe7ca4f329f83 (diff)
fixed initd scripts for udev and sysklogd
Diffstat (limited to 'repo/system/sysklogd.xibuild')
-rw-r--r--repo/system/sysklogd.xibuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/repo/system/sysklogd.xibuild b/repo/system/sysklogd.xibuild
index ac71d5f..8cf024e 100644
--- a/repo/system/sysklogd.xibuild
+++ b/repo/system/sysklogd.xibuild
@@ -5,6 +5,9 @@ DEPS="musl"
PKG_VER=2.3.0
SOURCE=https://github.com/troglobit/sysklogd/releases/download/v$PKG_VER/sysklogd-$PKG_VER.tar.gz
+ADDITIONAL="
+sysklogd.initd
+"
DESC="Programs for logging system messages"
build () {
@@ -27,4 +30,7 @@ user.* -/var/log/user.log
# End /etc/syslog.conf
EOF
+ install -Dm 754 sysklogd.initd $PKG_DEST/etc/init.d/sysklogd
+ mkdir -p $PKG_DEST/etc/runlevels/boot/
+ ln -s /etc/init.d/sysklogd $PKG_DEST/etc/runlevels/boot/sysklogd
}