diff options
author | Cem Keylan <cem@ckyln.com> | 2020-01-12 11:39:35 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-01-12 11:39:35 +0300 |
commit | 4653001e5a2c6df26a1152e5466ccebf902775c9 (patch) | |
tree | 89b43d86c152b2d1fd4178464cc3eedc57037361 /core/busybox | |
parent | 91fb31e5fd08c0ae5f27f79ca74ce175c298e728 (diff) | |
download | repository-4653001e5a2c6df26a1152e5466ccebf902775c9.tar.gz |
add ntpd runit service
Diffstat (limited to 'core/busybox')
-rwxr-xr-x | core/busybox/build | 2 | ||||
-rw-r--r-- | core/busybox/checksums | 1 | ||||
-rw-r--r-- | core/busybox/files/ntpd.run | 2 | ||||
-rw-r--r-- | core/busybox/sources | 1 | ||||
-rw-r--r-- | core/busybox/version | 2 |
5 files changed, 7 insertions, 1 deletions
diff --git a/core/busybox/build b/core/busybox/build index e2f5cc32..cdefdcfa 100755 --- a/core/busybox/build +++ b/core/busybox/build @@ -34,8 +34,10 @@ 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 ntpd.run "$1/etc/sv/ntpd/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.ntpd "$1/etc/sv/ntpd/supervise" # Install ntp config install -Dm644 ntp.conf "$1/etc/ntp.conf" diff --git a/core/busybox/checksums b/core/busybox/checksums index 4944c314..314e0ec2 100644 --- a/core/busybox/checksums +++ b/core/busybox/checksums @@ -3,4 +3,5 @@ d0f940a72f648943c1f2211e0e3117387c31d765137d92bd8284a3fb9752a998 busybox-1.31.1 da3ef90a65abcbd112fa98a00799745d88d568cde290e049a5380dfc74de620a .config-suid 6c3eb5cf839c7a31c337df0cd8388b397e1415ffa7a63e9678552c9c63dd869f acpid.run 814dea14ac612125e97dcc1d619219b2c9dfc14850bf48d858421fb2c98eca12 crond.run +fc36020a1043587fc45427d02dea356c9c892571baabe2b50ce328aaab5f6400 ntpd.run 2c6012579f669ea790785bb522a879a2005aad0d7977f96863918d3ed3cb03dd ntp.conf diff --git a/core/busybox/files/ntpd.run b/core/busybox/files/ntpd.run new file mode 100644 index 00000000..5d95f032 --- /dev/null +++ b/core/busybox/files/ntpd.run @@ -0,0 +1,2 @@ +#!/bin/sh +exec ntpd -ndd diff --git a/core/busybox/sources b/core/busybox/sources index 2fc73074..6ea37e57 100644 --- a/core/busybox/sources +++ b/core/busybox/sources @@ -3,4 +3,5 @@ files/.config files/.config-suid files/acpid.run files/crond.run +files/ntpd.run files/ntp.conf diff --git a/core/busybox/version b/core/busybox/version index bad3e38d..fda689c6 100644 --- a/core/busybox/version +++ b/core/busybox/version @@ -1 +1 @@ -1.31.1 10 +1.31.1 11 |