Added creation of /run/network in the network init script
This commit is contained in:
2
Makefile
2
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
|
||||
|
||||
|
||||
@@ -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##*/}
|
||||
|
||||
Reference in New Issue
Block a user