2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-02 14:02:27 +00:00

busybox: Add acpid service files. Closes #173

This commit is contained in:
Dylan Araps 2020-03-20 10:55:32 +02:00
parent ed6f5c0081
commit 9070a5dd9c
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
4 changed files with 7 additions and 0 deletions

View File

@ -36,9 +36,11 @@ done
chmod u+s "$1/usr/bin/busybox-suid"
# Install runit services.
install -Dm755 acpid.run "$1/etc/sv/acpid/run"
install -Dm755 crond.run "$1/etc/sv/crond/run"
install -Dm755 syslogd.run "$1/etc/sv/syslogd/run"
install -Dm755 mdev.run "$1/etc/sv/mdev/run"
ln -s /run/runit/supervise.acpid "$1/etc/sv/acpid/supervise"
ln -s /run/runit/supervise.crond "$1/etc/sv/crond/supervise"
ln -s /run/runit/supervise.syslogd "$1/etc/sv/syslogd/supervise"
ln -s /run/runit/supervise.mdev "$1/etc/sv/mdev/supervise"

View File

@ -3,6 +3,7 @@ d0f940a72f648943c1f2211e0e3117387c31d765137d92bd8284a3fb9752a998 busybox-1.31.1
8d84b1719dca2a751c09072c20cd782a3c47f119a68d35316f89d851daf67b88 fsck-resolve-uuid.patch
bb5c0067607c1af43248203d1e5d47b77c996a1466f2b4fc367639e18d490f05 .config
b4479adaabffb1fe9af7db676929e8f5f6bbc47869c5309a19056aa66196fbce .config-suid
76978b2b69361d47b3bb314a8a320ca274b2af7339c571be1a19f0e1d8c4da6a acpid.run
814dea14ac612125e97dcc1d619219b2c9dfc14850bf48d858421fb2c98eca12 crond.run
4a5981f4b0d791fe9b84b0b2e01ae905f6565c8245b3cd603e6decf34ddad71a syslogd.run
f857fea99533df7b780c911bae19b0029a70ee1c8d36b49e7782604fb9cf25f8 mdev.run

View File

@ -0,0 +1,3 @@
#!/bin/sh
mkdir -p /etc/acpi
exec acpid -f

View File

@ -3,6 +3,7 @@ patches/adduser-no-setgid.patch
patches/fsck-resolve-uuid.patch
files/.config
files/.config-suid
files/acpid.run
files/crond.run
files/syslogd.run
files/mdev.run