kiss-stj

My KISS Linux repo for software I use on my computers.
git clone https://git.stjo.hn/kiss-stj
Log | Files | Refs | README | LICENSE

commit bdc5faa1bb4197a2c4a564a0ceebe0e084bbfc11
parent 8e974e54d4e82235f07dbbca2d227bd836d31dd5
Author: St John Karp <contact@stjo.hn>
Date:   Tue, 19 Jul 2022 13:35:00 -0400

svc: Remove the default crond file

The default parameters from svc don't apply to Busybox crond
or scron's crond.

Diffstat:
Mcore/svc/build | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/core/svc/build b/core/svc/build @@ -14,8 +14,11 @@ install -m 755 -D bin/svc "$1/usr/bin/svc" cp -r svc.d "$1/usr/bin/svc.d" # Custom init scripts. +# Use cron's defaults. The params here won't work with busybox cron. +rm "$1/usr/bin/svc.d/default/crond" touch "$1/usr/bin/svc.d/avail/dhcpcd" install -D nldev "$1/usr/bin/svc.d/avail/nldev" +# Replace the custom script with defaults. rm "$1/usr/bin/svc.d/avail/ntpd" "$1/usr/bin/svc.d/default/ntpd" touch "$1/usr/bin/svc.d/avail/ntpd" touch "$1/usr/bin/svc.d/avail/pcscd"