poky/meta/recipes-core
Yi Zhao a4c05306f5 ifupdown: install missing directories
There are four directories in which scripts can be placed which will
always be run for any interface during certain phases of ifup and ifdown
commands:
/etc/network/if-pre-up.d/
/etc/network/if-up.d/
/etc/network/if-down.d/
/etc/network/if-post-down.d/

Even if there are no scripts in these directories, ifup and ifdown
commands will also search these directories by using run-parts command.

Install these directories to fix the following runtime errors:
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
$ ifdown lo
ifdown: interface lo not configured
$ ifup lo
run-parts: failed to open directory /etc/network/if-up.d: No such file or directory
ifup: failed to bring up lo

(From OE-Core rev: c248473e2d60cfa67c64aa586b404119dec728ff)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 277bc7ab1fedd81f4df578e544ec381c819a10f9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
..
2022-10-26 12:28:37 +01:00
2023-06-21 06:50:50 -10:00
2023-06-24 09:13:07 -10:00
2023-06-21 06:50:50 -10:00
2022-11-01 17:34:59 +00:00
2023-02-28 07:53:54 +00:00
2022-11-27 23:54:51 +00:00
2023-06-14 04:14:25 -10:00
2022-11-08 22:47:16 +00:00
2023-06-21 06:50:51 -10:00
2022-11-15 09:38:37 +00:00
2022-06-07 21:21:54 +01:00
2022-10-26 12:28:39 +01:00