summaryrefslogtreecommitdiffstats
path: root/builder/modules.d/slx-network/scripts/udhcpc-trigger.stage4
diff options
context:
space:
mode:
authorJonathan Bauer2019-08-12 15:04:56 +0200
committerJonathan Bauer2019-08-12 15:04:56 +0200
commit12d951f61029fbf3d5362de51dbabdc933efd0e2 (patch)
tree7d82d0074a04261819419bda84e9d47570fa0b64 /builder/modules.d/slx-network/scripts/udhcpc-trigger.stage4
parent[slx-network] fix symlink handling (diff)
downloadsystemd-init-12d951f61029fbf3d5362de51dbabdc933efd0e2.tar.gz
systemd-init-12d951f61029fbf3d5362de51dbabdc933efd0e2.tar.xz
systemd-init-12d951f61029fbf3d5362de51dbabdc933efd0e2.zip
[slx-network] minor fixes
Diffstat (limited to 'builder/modules.d/slx-network/scripts/udhcpc-trigger.stage4')
-rwxr-xr-xbuilder/modules.d/slx-network/scripts/udhcpc-trigger.stage42
1 files changed, 2 insertions, 0 deletions
diff --git a/builder/modules.d/slx-network/scripts/udhcpc-trigger.stage4 b/builder/modules.d/slx-network/scripts/udhcpc-trigger.stage4
index b51328ca..a7e8d3aa 100755
--- a/builder/modules.d/slx-network/scripts/udhcpc-trigger.stage4
+++ b/builder/modules.d/slx-network/scripts/udhcpc-trigger.stage4
@@ -15,6 +15,8 @@ fi
RESOLV_CONF="/opt/openslx/resolv.conf"
THIS_RESOLV="/run/network/${SLX_PXE_NETIF}.resolv"
+mkdir -p "/run/network"
+
rebuild_resolv_conf () {
# Don't do anything if the active resolv.conf is not ours
# Also this will not run resolvconf update.d... No idea if we should still do so...