disable flock

This commit is contained in:
coolsnowwolf 2018-01-15 01:05:20 +08:00
parent 5878dd27de
commit 09e34de60a
3 changed files with 2 additions and 11 deletions

View File

@ -41,15 +41,6 @@ _PROCD_SERVICE=
procd_lock() {
local basescript=$(readlink "$initscript")
local service_name="$(basename ${basescript:-$initscript})"
flock -n 1000 &> /dev/null
if [ "$?" != "0" ]; then
exec 1000>/var/lock/procd_${service_name}.lock
flock 1000
if [ "$?" != "0" ]; then
logger "warning: procd flock for $service_name failed"
fi
fi
}
_procd_call() {

View File

@ -1497,7 +1497,7 @@ config BUSYBOX_DEFAULT_FINDFS
default n
config BUSYBOX_DEFAULT_FLOCK
bool
default y
default n
config BUSYBOX_DEFAULT_FREERAMDISK
bool
default n

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=busybox
PKG_VERSION:=1.25.1
PKG_RELEASE:=5
PKG_RELEASE:=4
PKG_FLAGS:=essential
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2