From: Gustavo Zacarias Date: Thu, 27 Nov 2014 17:00:28 +0000 (-0300) Subject: skeleton/S40network: tweak for debian ifupdown X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a005f10e8811956df65ed852ac899ec2a4ecf1d;p=buildroot.git 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 --- 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..."