summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-08-02 18:23:03 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-02 18:23:03 +0000
commit65b992fe975ca9971cb5266711d17160df5ce378 (patch)
tree202a2ac0817cc81436e44b88431dce8709afcbf1 /packages
parentae09b22936efb65b90d1a658d4030a75ee567fcb (diff)
Added update-rc.d in postinst
Diffstat (limited to 'packages')
-rw-r--r--packages/openntpd/openntpd_3.7p1.bb4
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
}