From b249e2425fc7392645ba4383bf0ba3079c4926f3 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 18 May 2005 15:14:13 +0000 Subject: Convert openntpd to new packaging style git-svn-id: svn://svn.openwrt.org/openwrt/trunk@937 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/openntpd/files/S49ntpd | 3 --- openwrt/package/openntpd/files/ntpd.conf | 3 +++ openwrt/package/openntpd/files/ntpd.init | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) delete mode 100755 openwrt/package/openntpd/files/S49ntpd create mode 100644 openwrt/package/openntpd/files/ntpd.conf create mode 100644 openwrt/package/openntpd/files/ntpd.init (limited to 'openwrt/package/openntpd/files') diff --git a/openwrt/package/openntpd/files/S49ntpd b/openwrt/package/openntpd/files/S49ntpd deleted file mode 100755 index e52874878..000000000 --- a/openwrt/package/openntpd/files/S49ntpd +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -mkdir -p `grep "^ntp:" /etc/passwd | cut -d: -f6` -/usr/sbin/ntpd -s diff --git a/openwrt/package/openntpd/files/ntpd.conf b/openwrt/package/openntpd/files/ntpd.conf new file mode 100644 index 000000000..6993b8eba --- /dev/null +++ b/openwrt/package/openntpd/files/ntpd.conf @@ -0,0 +1,3 @@ +# use a random selection of 8 public stratum 2 servers +# see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers +servers pool.ntp.org diff --git a/openwrt/package/openntpd/files/ntpd.init b/openwrt/package/openntpd/files/ntpd.init new file mode 100644 index 000000000..e52874878 --- /dev/null +++ b/openwrt/package/openntpd/files/ntpd.init @@ -0,0 +1,3 @@ +#!/bin/sh +mkdir -p `grep "^ntp:" /etc/passwd | cut -d: -f6` +/usr/sbin/ntpd -s -- cgit v1.2.3