summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-09-03 17:24:23 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-09-03 17:26:50 +0200
commit09e94f459f26c5784a0440cb946fc97fc53f5879 (patch)
tree66096d444069f0cbfaa34d2506910cdcbd4c9cd0
parenteb2d9e63ae110b7f3069307ee89a4d281f12d118 (diff)
downloadptxdist-09e94f459f26c5784a0440cb946fc97fc53f5879.tar.gz
ptxdist-09e94f459f26c5784a0440cb946fc97fc53f5879.tar.xz
initmethod-systemd: add more empty folders for ifupdown
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. Based a similar patch for initmethod-bbinit from Alexander Dahl <post@lespocky.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/initmethod-systemd.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/initmethod-systemd.make b/rules/initmethod-systemd.make
index 4a0667fce..a1458d421 100644
--- a/rules/initmethod-systemd.make
+++ b/rules/initmethod-systemd.make
@@ -49,8 +49,10 @@ ifdef PTXCONF_INITMETHOD_SYSTEMD_IFUPDOWN
@$(call install_alternative, initmethod-systemd, 0, 0, 0644, /etc/network/interfaces)
@$(call install_copy, initmethod-systemd, 0, 0, 0755, /etc/network/if-down.d)
@$(call install_copy, initmethod-systemd, 0, 0, 0755, /etc/network/if-up.d)
+ @$(call install_copy, initmethod-systemd, 0, 0, 0755, /etc/network/if-pre-down.d)
@$(call install_copy, initmethod-systemd, 0, 0, 0755, /etc/network/if-post-down.d)
@$(call install_copy, initmethod-systemd, 0, 0, 0755, /etc/network/if-pre-up.d)
+ @$(call install_copy, initmethod-systemd, 0, 0, 0755, /etc/network/if-post-up.d)
endif
@$(call install_finish,initmethod-systemd)