From fb899479c5862cdddf193d406479bcc8f71a2a94 Mon Sep 17 00:00:00 2001 From: wbx Date: Wed, 23 Mar 2005 09:41:29 +0000 Subject: add openntpd. sort list of packages alphabetically in Makefile. git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@422 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/openntpd/files/S49ntpd | 3 +++ package/openntpd/files/ntpd.conf | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 package/openntpd/files/S49ntpd create mode 100644 package/openntpd/files/ntpd.conf (limited to 'package/openntpd/files') diff --git a/package/openntpd/files/S49ntpd b/package/openntpd/files/S49ntpd new file mode 100755 index 000000000..e52874878 --- /dev/null +++ b/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/package/openntpd/files/ntpd.conf b/package/openntpd/files/ntpd.conf new file mode 100644 index 000000000..6993b8eba --- /dev/null +++ b/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.2.3