diff options
Diffstat (limited to 'recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend')
-rw-r--r-- | recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend b/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend new file mode 100644 index 0000000..b0c569e --- /dev/null +++ b/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend @@ -0,0 +1,12 @@ + +SRC_URI += "file://bonding.pre-up \ + file://bonding.up \ + file://bonding.post-down" + +FILESEXTRAPATHS_prepend := "${THISDIR}/files" + +do_install_${PN}_append () { + install -m 0755 ${WORKDIR}/bonding.pre-up ${D}${sysconfdir}/network/if-pre-up.d/bonding + install -m 0755 ${WORKDIR}/bonding.up ${D}${sysconfdir}/network/if-up.d/bonding + install -m 0755 ${WORKDIR}/bonding.post-down ${D}${sysconfdir}/network/if-post-down.d/bonding +} |