summaryrefslogtreecommitdiff
path: root/ntp
diff options
context:
space:
mode:
authorBruno Randolf <br1@subnet.at>2004-10-04 19:12:44 +0000
committerBruno Randolf <br1@subnet.at>2004-10-04 19:12:44 +0000
commit45782172049763c11838120f9f1ed04e90d132f2 (patch)
tree5e81b7270567ca3d6976c5fc42db7476c9c5b920 /ntp
parentb39e2ac5bc1ecc501dda033b68abbe62e7f53a0e (diff)
ntpdate init script
BKrev: 4161a0acm6ghM1J2vqrD8KuHu6433w
Diffstat (limited to 'ntp')
-rw-r--r--ntp/files/ntpdate0
-rw-r--r--ntp/ntp_4.1.2.oe10
2 files changed, 8 insertions, 2 deletions
diff --git a/ntp/files/ntpdate b/ntp/files/ntpdate
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/ntp/files/ntpdate
diff --git a/ntp/ntp_4.1.2.oe b/ntp/ntp_4.1.2.oe
index e7fcc3f0f2..26e2472c6f 100644
--- a/ntp/ntp_4.1.2.oe
+++ b/ntp/ntp_4.1.2.oe
@@ -7,7 +7,8 @@ PRIORITY = "optional"
DEPENDS = "openssl"
SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${PV}.tar.gz \
- file://configure.patch;patch=1"
+ file://configure.patch;patch=1 \
+ file://ntpdate"
inherit autotools
@@ -17,4 +18,9 @@ CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
PACKAGES = "ntpdate ntp"
-FILES_ntpdate = "/usr/bin/ntpdate"
+FILES_ntpdate = "/usr/bin/ntpdate /etc/init.d/ntpdate"
+
+do_install_append() {
+ install -d ${D}/${sysconfdir}/init.d
+ install -m 755 ${WORKDIR}/ntpdate ${D}/${sysconfdir}/init.d
+} \ No newline at end of file