From 893c96306259592780af1efb61e984856fabaf73 Mon Sep 17 00:00:00 2001 From: Oyvind Repvik Date: Tue, 2 Aug 2005 18:23:33 +0000 Subject: Added update-rc.d in postinst --- packages/samba/samba_3.0.14a.bb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3