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>
(cherry picked from commit c81c6d8f3d
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
49e16e5813
commit
99c4e5a281
@ -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