20 lines
519 B
Plaintext
20 lines
519 B
Plaintext
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
|
|
|
SRC_URI += " \
|
|
file://S20load_modules.sh \
|
|
file://fragments.cfg \
|
|
file://ntp.conf \
|
|
file://ntpd \
|
|
"
|
|
|
|
do_install_append () {
|
|
install -d ${D}${sysconfdir}/rcS.d/
|
|
install -m 0644 ${WORKDIR}/ntp.conf ${D}${sysconfdir}
|
|
install -m 0755 ${WORKDIR}/ntpd ${D}${sysconfdir}/init.d/
|
|
install -m 0755 ${WORKDIR}/S20load_modules.sh ${D}${sysconfdir}/rcS.d/
|
|
|
|
cd ${D}${sysconfdir}/rcS.d/
|
|
ln -s ../init.d/ntpd S48ntpd.sh
|
|
}
|
|
|