meta-opendreambox: stop using PR
[opendreambox.git] / meta-opendreambox / recipes-core / initscripts / initscripts_1.0.bbappend
1 SRC_URI += "file://mountrun.sh"
2
3 do_install_append() {
4         rm ${D}${sysconfdir}/*.d/*save-rtc.sh
5
6         install -m 0755 ${WORKDIR}/mountrun.sh ${D}${sysconfdir}/init.d
7         ln -s ../init.d/mountrun.sh ${D}${sysconfdir}/rcS.d/S02mountrun.sh
8
9         # rename umountnfs script because it should run before network is disabled
10         mv ${D}${sysconfdir}/rc0.d/S31umountnfs.sh ${D}${sysconfdir}/rc0.d/K31umountnfs.sh || /bin/true
11         mv ${D}${sysconfdir}/rc6.d/S31umountnfs.sh ${D}${sysconfdir}/rc6.d/K31umountnfs.sh || /bin/true
12 }
13
14 FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"