mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 06:36:34 +00:00
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.
|
# Copyright 2003 Key Research, Inc.
|
||||||
|
|
||||||
|
# Create needed directories
|
||||||
|
mkdir -p /var/lock/subsys
|
||||||
|
|
||||||
# Source function library.
|
# Source function library.
|
||||||
if [ -f /etc/init.d/functions ]; then
|
if [ -f /etc/init.d/functions ]; then
|
||||||
. /etc/init.d/functions
|
. /etc/init.d/functions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user