qtwebkit: add patch for DBus based html5 video
[opendreambox.git] / meta-opendreambox / classes / opendreambox-sysvinit.bbclass
1 inherit update-rc.d
2
3 SRC_URI += "file://${INITSCRIPT_NAME}.sysvinit"
4
5 INITSCRIPT_NAME ?= "${PN}"
6
7 do_install_append() {
8         if [ -f ${WORKDIR}/${INITSCRIPT_NAME}.sysvinit ]; then
9                 install -d ${D}${INIT_D_DIR}
10                 install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME}.sysvinit ${D}${INIT_D_DIR}/${INITSCRIPT_NAME}
11         fi
12 }