summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2019-08-07 11:38:17 +0200
committerJonathan Bauer2019-08-07 11:38:17 +0200
commitef0140c17c62f909bec42bb7337d36124e80ebf8 (patch)
tree430bf8d34163366b4ec749c824da1bdf4cbf0077
parent[rdns] move rdns to its own module (diff)
downloadmltk-ef0140c17c62f909bec42bb7337d36124e80ebf8.tar.gz
mltk-ef0140c17c62f909bec42bb7337d36124e80ebf8.tar.xz
mltk-ef0140c17c62f909bec42bb7337d36124e80ebf8.zip
[dhcpc-busybox] make sure /run/network exists
-rwxr-xr-xcore/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx b/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx
index 55a04587..81c9491b 100755
--- a/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx
+++ b/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx
@@ -68,6 +68,8 @@ if [ ! -d /run ]; then
echo "" >&2
fi
+mkdir -p "/run/network"
+
case "$1" in
bound|renew)
check_env "$1"