From 21805987d0e4a4194936fe25112f1cda6abb42f1 Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Tue, 8 Nov 2016 12:53:19 -0600 Subject: [PATCH] Added creation of /run/network in the network init script --- Makefile | 2 +- SRC/initscripts/etc/init.d/network | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a3fd1a5..3233572 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ DESC = This package supplies the base system init scripts for sysvinit ARCHIVE := '' SRCDIR := $(PWD)/SRC/initscripts PATCHDIR := $(PWD)/SRC/patches -VERSION := 0.3sr1 +VERSION := 0.4sr0 include /usr/share/snap/Makefile.snaplinux diff --git a/SRC/initscripts/etc/init.d/network b/SRC/initscripts/etc/init.d/network index 8ad3ac1..90a6d28 100644 --- a/SRC/initscripts/etc/init.d/network +++ b/SRC/initscripts/etc/init.d/network @@ -31,6 +31,10 @@ case "${1}" in start) + # make sure /run/network is available + if [ ! -d /run/network ]; then + mkdir /run/network + fi # Start all network interfaces for file in `find /etc/network.d -type f|sort`; do interface=${file##*/}