summaryrefslogtreecommitdiffstats
path: root/meta-facebook/meta-wedge/recipes-core/init-ifupdown/init-ifupdown_%.bbappend
blob: e715c27701b9759aa2786a1a2bc6d9199fa2e497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI += "file://dhcpv6_up \
            file://dhcpv6_down \
           "

do_install_append() {
  # rules to request dhcpv6
  install -d ${D}/${sysconfdir}/network/if-up.d
  install -m 755 ${WORKDIR}/dhcpv6_up ${D}${sysconfdir}/network/if-up.d/dhcpv6_up
  install -d ${D}/${sysconfdir}/network/if-down.d
  install -m 755 ${WORKDIR}/dhcpv6_down ${D}${sysconfdir}/network/if-down.d/dhcpv6_down
}

FILES_${PN} += "${sysconfdir}/network/if-up.d/dhcpv6_up \
                ${sysconfdir}/network/if-down.d/dhcpv6_down \
               "
OpenPOWER on IntegriCloud