Commit 23dab743 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

launch external install.sh scripts

parent aa3a9964
...@@ -26,6 +26,12 @@ INITSCRIPT_PARAMS = "defaults 95" ...@@ -26,6 +26,12 @@ INITSCRIPT_PARAMS = "defaults 95"
inherit update-rc.d inherit update-rc.d
do_install_append() { do_install_append() {
if [ -f ${TOPDIR}/../../x393/install.sh ]; then
${TOPDIR}/../../x393/install.sh ${D}
fi
if [ -f ${TOPDIR}/../../x393_sata/install.sh ]; then
${TOPDIR}/../../x393_sata/install.sh ${D}
fi
install -d ${D}${sysconfdir}/init.d install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/init_elphel393 ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/init_elphel393 ${D}${sysconfdir}/init.d
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment