diff options
Diffstat (limited to 'package/openntpd/ipkg')
-rwxr-xr-x | package/openntpd/ipkg/etc/init.d/S55ntpd | 3 | ||||
-rw-r--r-- | package/openntpd/ipkg/etc/ntpd.conf | 3 | ||||
-rw-r--r-- | package/openntpd/ipkg/openntpd.control | 9 | ||||
-rw-r--r--[-rwxr-xr-x] | package/openntpd/ipkg/openntpd.postinst (renamed from package/openntpd/ipkg/CONTROL/postinst) | 4 |
4 files changed, 11 insertions, 8 deletions
diff --git a/package/openntpd/ipkg/etc/init.d/S55ntpd b/package/openntpd/ipkg/etc/init.d/S55ntpd deleted file mode 100755 index e52874878..000000000 --- a/package/openntpd/ipkg/etc/init.d/S55ntpd +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -mkdir -p `grep "^ntp:" /etc/passwd | cut -d: -f6` -/usr/sbin/ntpd -s diff --git a/package/openntpd/ipkg/etc/ntpd.conf b/package/openntpd/ipkg/etc/ntpd.conf deleted file mode 100644 index 6993b8eba..000000000 --- a/package/openntpd/ipkg/etc/ntpd.conf +++ /dev/null @@ -1,3 +0,0 @@ -# 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/package/openntpd/ipkg/openntpd.control b/package/openntpd/ipkg/openntpd.control new file mode 100644 index 000000000..8bc341f38 --- /dev/null +++ b/package/openntpd/ipkg/openntpd.control @@ -0,0 +1,9 @@ +Package: openntpd +Priority: optional +Section: net +Maintainer: Laurent Papier <papier[at]tuxfan.net> +Source: buildroot internal +Description: OpenNTPD is a FREE, easy to use implementation of NTP + (the Network Time Protocol). It provides the ability to sync the + local clock to remote NTP servers and can act as NTP server itself, + redistributing the local clock. diff --git a/package/openntpd/ipkg/CONTROL/postinst b/package/openntpd/ipkg/openntpd.postinst index daa0baf55..4b2ffe9df 100755..100644 --- a/package/openntpd/ipkg/CONTROL/postinst +++ b/package/openntpd/ipkg/openntpd.postinst @@ -11,11 +11,11 @@ if [ -z "${IPKG_INSTROOT}" ]; then if [ "$rootfs" = "squashfs" ]; then if [ -h /etc/group ]; then rm /etc/group - cp /rom/etc/group /etc/group + cp -p /rom/etc/group /etc/group fi if [ -h /etc/passwd ]; then rm /etc/passwd - cp /rom/etc/passwd /etc/passwd + cp -p /rom/etc/passwd /etc/passwd fi fi fi |