summaryrefslogtreecommitdiff
path: root/packages/samba/samba_3.0.14a.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/samba/samba_3.0.14a.bb')
-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"