From c81c6d8f3d5bdf1825acaa27428c9e25def48593 Mon Sep 17 00:00:00 2001 From: Julien Corjon Date: Tue, 5 Sep 2017 11:54:56 +0200 Subject: [PATCH] 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 --- package/netplug/S29netplug | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2