Hei there, 

After upgrading to busybox v1.20.1 ifupdown complains about two
missing folders if-pre-down.d and if-post-up.d. This patch just
adds two lines for creating those empty folders.

Note: for initmethod systemd the same folders are created. As far as I
could see ifupdown is part of busybox. Is this very ifupdown used
together with systemd? Then these folders have to be added there, too.

Greets
Alex

Signed-off-by: Alexander Dahl <[email protected]>
---
 rules/initmethod-bbinit.make |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/rules/initmethod-bbinit.make b/rules/initmethod-bbinit.make
index b71d1af..f59c321 100644
--- a/rules/initmethod-bbinit.make
+++ b/rules/initmethod-bbinit.make
@@ -60,8 +60,10 @@ ifdef PTXCONF_INITMETHOD_BBINIT_ETC_INITD_NETWORKING
        @$(call install_alternative, initmethod-bbinit, 0, 0, 0644, 
/etc/network/interfaces, n)
        @$(call install_copy, initmethod-bbinit, 0, 0, 0755, 
/etc/network/if-down.d)
        @$(call install_copy, initmethod-bbinit, 0, 0, 0755, 
/etc/network/if-up.d)
+       @$(call install_copy, initmethod-bbinit, 0, 0, 0755, 
/etc/network/if-pre-down.d)
        @$(call install_copy, initmethod-bbinit, 0, 0, 0755, 
/etc/network/if-post-down.d)
        @$(call install_copy, initmethod-bbinit, 0, 0, 0755, 
/etc/network/if-pre-up.d)
+       @$(call install_copy, initmethod-bbinit, 0, 0, 0755, 
/etc/network/if-post-up.d)
 endif
 
 ifdef PTXCONF_INITMETHOD_BBINIT_ETC_INITD_RT_SET_BANDWIDTH
-- 
1.7.2.5


-- 
ptxdist mailing list
[email protected]

Reply via email to