diff options
-rw-r--r-- | packages/openntpd/openntpd_3.7p1.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/openntpd/openntpd_3.7p1.bb b/packages/openntpd/openntpd_3.7p1.bb index 1f571833aa..35f587c74a 100644 --- a/packages/openntpd/openntpd_3.7p1.bb +++ b/packages/openntpd/openntpd_3.7p1.bb @@ -6,7 +6,7 @@ LICENSE = "BSD" SECTION = "console/network" MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org>" DEPENDS = "timezones" -PR="r4" +PR="r5" SRC_URI = "http://www.zip.com.au/~dtucker/openntpd/release/openntpd-${PV}.tar.gz \ file://autofoo.patch;patch=1 \ @@ -31,10 +31,12 @@ do_install_append() { pkg_postrm () { grep ntpd /etc/passwd && deluser ntpd + update-rc.d openntpd remove } pkg_postinst () { grep ntpd /etc/passwd || adduser --disabled-password --home=/var/shared/empty --ingroup nogroup ntpd chown root:root /var/shared/empty + update-rc.d openntpd defaults 66 } |