From 3a005f10e8811956df65ed852ac899ec2a4ecf1d Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Thu, 27 Nov 2014 14:00:28 -0300 Subject: [PATCH] skeleton/S40network: tweak for debian ifupdown Make the S40network script create the /run/network directory for the debian variant of ifupdown which uses it as a lock directory. Signed-off-by: Gustavo Zacarias Tested-by: Karoly Kasza Reviewed-by: Karoly Kasza Signed-off-by: Thomas Petazzoni --- system/skeleton/etc/init.d/S40network | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system/skeleton/etc/init.d/S40network b/system/skeleton/etc/init.d/S40network index e69e61340a..bfdd491e93 100755 --- a/system/skeleton/etc/init.d/S40network +++ b/system/skeleton/etc/init.d/S40network @@ -3,6 +3,9 @@ # Start the network.... # +# Debian ifupdown needs the /run/network lock directory +mkdir -p /run/network + case "$1" in start) echo "Starting network..." -- 2.30.2