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

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