From: Julien Corjon Date: Tue, 5 Sep 2017 09:54:56 +0000 (+0200) Subject: package/netplug: init script create needed lock directory X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c81c6d8f3d5bdf1825acaa27428c9e25def48593;p=buildroot.git package/netplug: init script create needed lock directory Init script use /var/lock/subsys/netplugd but directory /var/lock/subsys can be missing. Signed-off-by: Julien Corjon Signed-off-by: Thomas Petazzoni --- diff --git a/package/netplug/S29netplug b/package/netplug/S29netplug index 88f933d556..d3df9ddff5 100755 --- a/package/netplug/S29netplug +++ b/package/netplug/S29netplug @@ -11,6 +11,9 @@ # Copyright 2003 Key Research, Inc. +# Create needed directories +mkdir -p /var/lock/subsys + # Source function library. if [ -f /etc/init.d/functions ]; then . /etc/init.d/functions