summaryrefslogtreecommitdiff
path: root/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-02-13 14:25:26 -0600
committerJohn Klug <john.klug@multitech.com>2017-02-13 14:25:26 -0600
commita6ce3e3dc0def6ca7ea46b07cf28b1cf292b108b (patch)
tree94a70c972dfcd9aee17aa8e9bd7980b69b02707c /recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend
parentd5ec24692d94485163799cf42018012b86571054 (diff)
downloadmeta-mlinux-a6ce3e3dc0def6ca7ea46b07cf28b1cf292b108b.tar.gz
meta-mlinux-a6ce3e3dc0def6ca7ea46b07cf28b1cf292b108b.tar.bz2
meta-mlinux-a6ce3e3dc0def6ca7ea46b07cf28b1cf292b108b.zip
Add bonding ifup ifdown
Diffstat (limited to 'recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend')
-rw-r--r--recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend12
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
+}