openntpd: run ntpd with -s too, to set the time immediately.
This is required in platforms where there's no RTC (rpi, etc), otherwise it could have wrong time for a while.
This commit is contained in:
parent
61372c15ea
commit
9e0b800aad
2 changed files with 2 additions and 2 deletions
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec ntpd -d
|
exec ntpd -ds
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'openntpd'
|
# Template file for 'openntpd'
|
||||||
pkgname=openntpd
|
pkgname=openntpd
|
||||||
version=5.7p3
|
version=5.7p3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-privsep-user=$pkgname"
|
configure_args="--with-privsep-user=$pkgname"
|
||||||
makedepends="libressl-devel"
|
makedepends="libressl-devel"
|
||||||
|
|
Loading…
Reference in a new issue