file://init"
S = "${WORKDIR}/cron${PV}"
+INITSCRIPT_NAME = "cron"
+INITSCRIPT_PARAMS = "defaults"
+
+
CFLAGS_append = " -I${S} -DSYS_TIME_H=0"
do_install () {
install -d ${D}${sbindir} ${D}${bindir}
file://init"
S = "${WORKDIR}/openntpd-${PV}"
+INITSCRIPT_NAME = "openntpd"
+INITSCRIPT_PARAMS = "defaults"
+
+
inherit autotools
EXTRA_OECONF += "CFLAGS=-DUSE_ADJTIMEX --disable-strip --prefix=/usr \
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
}
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"
file://acinclude.m4 \
file://init"
S = "${WORKDIR}/thttpd-${PV}"
+
INITSCRIPT_NAME = "thttpd"
INITSCRIPT_PARAMS = "defaults"
install -c -m 755 ${WORKDIR}/thttpd ${D}${sysconfdir}/init.d/thttpd
}
-pkg_postinst() {
- update-rc.d thttpd defaults 67
-}
-
-pkg_postrm() {
- update-rc.d thttpd remove
-}
-