summaryrefslogtreecommitdiff
path: root/packages/samba
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-08-02 18:23:33 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-02 18:23:33 +0000
commit893c96306259592780af1efb61e984856fabaf73 (patch)
treee9523b6779c4231cee40519f3d2244bf38799216 /packages/samba
parent65b992fe975ca9971cb5266711d17160df5ce378 (diff)
Added update-rc.d in postinst
Diffstat (limited to 'packages/samba')
-rw-r--r--packages/samba/samba_3.0.14a.bb10
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/samba/samba_3.0.14a.bb b/packages/samba/samba_3.0.14a.bb
index fdd3cd6685..90bf05a608 100644
--- a/packages/samba/samba_3.0.14a.bb
+++ b/packages/samba/samba_3.0.14a.bb
@@ -1,4 +1,4 @@
-PR = "r8"
+PR = "r9"
SRC_URI = "http://us2.samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
file://configure.patch;patch=1 \
@@ -43,6 +43,14 @@ do_install_append() {
install -c -m 644 ../examples/smb.conf.default ${D}${sysconfdir}/samba/smb.conf
}
+pkg_postinst() {
+ update-rc.d samba defaults 60
+}
+
+pkg_postrm() {
+ update-rc.d samba remove
+}
+
PACKAGES =+ "swat"
FILES_swat = "${sbindir}/swat ${datadir}/swat ${libdir}/*.msg"