ifupdown: create a tmpfiles.d file to create /run/network
[hfreyther: Only mention /run/network]
This commit is contained in:
parent
9bac297806
commit
86dda7481f
|
@ -24,6 +24,11 @@ do_install() {
|
|||
ln -s ${base_sbindir}/ifup.${BPN} ${D}${base_sbindir}/ifdown.${BPN}
|
||||
ln -s ${base_sbindir}/ifup.${BPN} ${D}${base_sbindir}/ifquery
|
||||
install -D -m 0755 settle-dad.sh ${D}/lib/ifupdown/settle-dad.sh
|
||||
if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||
install -d ${D}${sysconfdir}/tmpfiles.d
|
||||
echo "d ${localstatedir}/run/network - - - -" \
|
||||
> ${D}${sysconfdir}/tmpfiles.d/02-ifupdown.conf
|
||||
fi
|
||||
}
|
||||
|
||||
inherit update-alternatives
|
||||
|
|
Loading…
Reference in New Issue