Message ID | 1417107630-14909-3-git-send-email-gustavo@zacarias.com.ar |
---|---|
State | Accepted |
Headers | show |
Hello, On Thu, Nov 27, 2014 at 6:00 PM, Gustavo Zacarias <gustavo@zacarias.com.ar> wrote: > 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 <gustavo@zacarias.com.ar> > --- > system/skeleton/etc/init.d/S40network | 3 +++ > 1 file changed, 3 insertions(+) > Tested-by: Karoly Kasza <kaszak@gmail.com> Reviewed-by: Karoly Kasza <kaszak@gmail.com> Tested with next branch, x86_64 arch in QEMU and VMW, internal toolchain GCC 4.9.2, Linux 3.17.x, SysV init and a lot of utilities, like OpenSSH. Regards, Karoly
Dear Gustavo Zacarias, On Thu, 27 Nov 2014 14:00:28 -0300, Gustavo Zacarias wrote: > 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 <gustavo@zacarias.com.ar> > --- > system/skeleton/etc/init.d/S40network | 3 +++ > 1 file changed, 3 insertions(+) Applied, thanks. Thomas
diff --git a/system/skeleton/etc/init.d/S40network b/system/skeleton/etc/init.d/S40network index e69e613..bfdd491 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..."
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 <gustavo@zacarias.com.ar> --- system/skeleton/etc/init.d/S40network | 3 +++ 1 file changed, 3 insertions(+)