summaryrefslogtreecommitdiffstats
path: root/builder/modules.d/slx-network/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'builder/modules.d/slx-network/scripts')
-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...