summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2020-05-06 16:51:16 +0200
committerJonathan Bauer2020-05-06 16:51:16 +0200
commit332f7f09a524e11282ef3d39fda1648cb62038e1 (patch)
treefe0ccf7d0270e2a169d4850c1ed7dce4e48667fa
parentminor cleanup (diff)
parent[slx-network] ensure /opt/openslx/scripts exists (diff)
downloadsystemd-init-332f7f09a524e11282ef3d39fda1648cb62038e1.tar.gz
systemd-init-332f7f09a524e11282ef3d39fda1648cb62038e1.tar.xz
systemd-init-332f7f09a524e11282ef3d39fda1648cb62038e1.zip
Merge branch 'master' into nobash-merge
-rw-r--r--builder/modules.d/slx-network/hooks/activate-bootif-dhcp.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/builder/modules.d/slx-network/hooks/activate-bootif-dhcp.sh b/builder/modules.d/slx-network/hooks/activate-bootif-dhcp.sh
index 0f4f332f..86679ce7 100644
--- a/builder/modules.d/slx-network/hooks/activate-bootif-dhcp.sh
+++ b/builder/modules.d/slx-network/hooks/activate-bootif-dhcp.sh
@@ -6,6 +6,7 @@
. /etc/openslx
[ -n "$SLX_DISABLE_STAGE4_DHCP" ] && exit 0
+mkdir -p "${NEWROOT}/opt/openslx/scripts"
for script in setup-bootif-network udhcpc-trigger; do
if [ -e "${NEWROOT}/opt/openslx/scripts/${script}" ]; then
mv "${NEWROOT}/opt/openslx/scripts/${script}"{,.stage4}