From e4975c6f3020dd08e17f6679d35d2195c1dad817 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 18 Dec 2019 17:52:12 +0300 Subject: busybox: add crond --- core/busybox/build | 3 +++ core/busybox/checksums | 3 ++- core/busybox/files/.config | 12 ++++++------ core/busybox/files/crond.run | 2 ++ core/busybox/sources | 1 + core/busybox/version | 2 +- 6 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 core/busybox/files/crond.run (limited to 'core/busybox') diff --git a/core/busybox/build b/core/busybox/build index 5625cecb..11f7c17b 100755 --- a/core/busybox/build +++ b/core/busybox/build @@ -33,3 +33,6 @@ 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" +ln -s /run/runit/supervise.acpid "$1/etc/sv/acpid/supervise" +ln -s /run/runit/supervise.crond "$1/etc/sv/crond/supervise" diff --git a/core/busybox/checksums b/core/busybox/checksums index a33cfc44..bf4a2810 100644 --- a/core/busybox/checksums +++ b/core/busybox/checksums @@ -1,4 +1,5 @@ d0f940a72f648943c1f2211e0e3117387c31d765137d92bd8284a3fb9752a998 busybox-1.31.1.tar.bz2 -37bf238f7f815fe5c5e9344b7589e42e3b6d183137f3ff74ce9499cfe73dea39 .config +985e04e6498c93d2b1b02b36415e117b9b94b8d213d0c2b63a4f7c67706672ec .config da3ef90a65abcbd112fa98a00799745d88d568cde290e049a5380dfc74de620a .config-suid 6c3eb5cf839c7a31c337df0cd8388b397e1415ffa7a63e9678552c9c63dd869f acpid.run +814dea14ac612125e97dcc1d619219b2c9dfc14850bf48d858421fb2c98eca12 crond.run diff --git a/core/busybox/files/.config b/core/busybox/files/.config index c5352a5d..3d6ecc42 100644 --- a/core/busybox/files/.config +++ b/core/busybox/files/.config @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Busybox version: 1.31.1 -# Tue Dec 17 13:20:42 2019 +# Wed Dec 18 10:48:12 2019 # CONFIG_HAVE_DOT_CONFIG=y @@ -751,11 +751,11 @@ CONFIG_FEATURE_BEEP_LENGTH_MS=0 # CONFIG_FEATURE_CHAT_VAR_ABORT_LEN is not set # CONFIG_FEATURE_CHAT_CLR_ABORT is not set # CONFIG_CONSPY is not set -# CONFIG_CROND is not set -# CONFIG_FEATURE_CROND_D is not set -# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set -# CONFIG_FEATURE_CROND_SPECIAL_TIMES is not set -CONFIG_FEATURE_CROND_DIR="" +CONFIG_CROND=y +CONFIG_FEATURE_CROND_D=y +CONFIG_FEATURE_CROND_CALL_SENDMAIL=y +CONFIG_FEATURE_CROND_SPECIAL_TIMES=y +CONFIG_FEATURE_CROND_DIR="/var/spool/cron" # CONFIG_CRONTAB is not set # CONFIG_DEVFSD is not set # CONFIG_DEVFSD_MODLOAD is not set diff --git a/core/busybox/files/crond.run b/core/busybox/files/crond.run new file mode 100644 index 00000000..29647de7 --- /dev/null +++ b/core/busybox/files/crond.run @@ -0,0 +1,2 @@ +#!/bin/sh +exec crond -f diff --git a/core/busybox/sources b/core/busybox/sources index 8b8ce418..19fab255 100644 --- a/core/busybox/sources +++ b/core/busybox/sources @@ -2,3 +2,4 @@ https://busybox.net/downloads/busybox-1.31.1.tar.bz2 files/.config files/.config-suid files/acpid.run +files/crond.run diff --git a/core/busybox/version b/core/busybox/version index 0e7e342e..88b141a0 100644 --- a/core/busybox/version +++ b/core/busybox/version @@ -1 +1 @@ -1.31.1 7 +1.31.1 8 -- cgit v1.2.3