diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-04 18:10:24 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-04 18:10:24 +0100 |
commit | b047da059a1042a27ba68b1bdc50dd187bd362f4 (patch) | |
tree | 5529bdac03674fab07bb4335fc5ce4e5654c7497 /package/openntpd | |
parent | 5d93cc6de511d5330d0d0c7a0ebae8e6c9638e3d (diff) |
update kernel to 2.6.32
- update some applications
asterisk, curl, strace, radvd, rpm
- fix allconfig
- /dev for full build seems to need more than 64k
Diffstat (limited to 'package/openntpd')
-rw-r--r-- | package/openntpd/Makefile | 2 | ||||
-rw-r--r-- | package/openntpd/files/ntpd.init | 4 | ||||
-rw-r--r-- | package/openntpd/files/openntpd.postinst | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/package/openntpd/Makefile b/package/openntpd/Makefile index f341614d1..5c8cf0fd5 100644 --- a/package/openntpd/Makefile +++ b/package/openntpd/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= openntpd PKG_VERSION:= 3.9p1 -PKG_RELEASE:= 17 +PKG_RELEASE:= 18 PKG_MD5SUM:= afc34175f38d08867c1403d9008600b3 PKG_DESCR:= NTP server daemon PKG_SECTION:= net diff --git a/package/openntpd/files/ntpd.init b/package/openntpd/files/ntpd.init index 42e068860..fd655e9cc 100644 --- a/package/openntpd/files/ntpd.init +++ b/package/openntpd/files/ntpd.init @@ -7,7 +7,7 @@ case $1 in autostop) ;; autostart) - [[ $ntpd_flags = NO ]] && exit 0 + test x"${ntpd:-NO}" = x"NO" && exit 0 exec sh $0 start ;; start) @@ -15,7 +15,7 @@ start) /usr/sbin/ntpd $ntpd_flags ;; stop) - kill $(pidof ntpd|cut -d ' ' -f 3) + pkill ntpd ;; restart) sh $0 stop diff --git a/package/openntpd/files/openntpd.postinst b/package/openntpd/files/openntpd.postinst index 53bc8c387..c6d0bd33d 100644 --- a/package/openntpd/files/openntpd.postinst +++ b/package/openntpd/files/openntpd.postinst @@ -4,4 +4,5 @@ gid=$(get_next_gid) add_group ntp $gid add_user ntp $(get_next_uid) $gid /tmp/.ntp add_service ntp 123/udp -add_rcconf 'e.g. "-s"' ntpd_flags +add_rcconf ntpd_flags ntpd_flags "-s" +add_rcconf ntpd ntpd NO |