[OE-core] [PATCH] Add init script (sysv) support for busybox's ntpd
Alexandre Belloni
alexandre.belloni at free-electrons.com
Sun Mar 1 21:34:52 UTC 2015
On 01/03/2015 at 13:48:11 +0000, Laszlo Papp wrote :
> I finally decided to get this patch another go, even though still no
> busybox daemon has LSB headers, but I would need to ask for some prime
> example of LSB headers that I can start off with. Could anyone please
> provide me a good example for that from the Yocto project? Thanks.
>
What about:
### BEGIN INIT INFO
# Provides: ntpd
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: NTP daemon
# Description: Network Time Protocol (NTP) is a networking
# protocol for clock synchronization
### END INIT INFO
See
http://www.linuxbase.org/betaspecs/lsb/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the Openembedded-core
mailing list