From 00c4ce5585597296fb1e9418c869a505e980605f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 23 Mar 2005 09:41:29 +0000 Subject: add openntpd. sort list of packages alphabetically in Makefile. SVN-Revision: 422 --- openwrt/package/openntpd/files/S49ntpd | 3 +++ openwrt/package/openntpd/files/ntpd.conf | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 openwrt/package/openntpd/files/S49ntpd create mode 100644 openwrt/package/openntpd/files/ntpd.conf (limited to 'openwrt/package/openntpd/files') diff --git a/openwrt/package/openntpd/files/S49ntpd b/openwrt/package/openntpd/files/S49ntpd new file mode 100755 index 0000000..e528748 --- /dev/null +++ b/openwrt/package/openntpd/files/S49ntpd @@ -0,0 +1,3 @@ +#!/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 0000000..6993b8e --- /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 -- cgit v1.1