Added creation of /run/network in the network init script

This commit is contained in:
2016-11-08 12:53:19 -06:00
parent 575477a728
commit 21805987d0
2 changed files with 5 additions and 1 deletions

View File

@@ -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

View File

@@ -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##*/}