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 <corjon.j@ecagroup.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
95e284bd27
commit
c81c6d8f3d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user