From 1a6231f0edaffb8778a83ae7d4973aab14b78ecf Mon Sep 17 00:00:00 2001 From: Lienol <23146169+Lienol@users.noreply.github.com> Date: Wed, 13 May 2020 00:23:11 +0800 Subject: [PATCH] procd: disable lock --- package/base-files/files/etc/rc.common | 4 ++-- package/system/procd/files/procd.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common index 5d0d3c23f7..d2f754529f 100755 --- a/package/base-files/files/etc/rc.common +++ b/package/base-files/files/etc/rc.common @@ -145,7 +145,7 @@ extra_command "enabled" "Check if service is started on boot" } stop() { - procd_lock + #procd_lock stop_service "$@" procd_kill "$(basename ${basescript:-$initscript})" "$1" if eval "type service_stopped" 2>/dev/null >/dev/null; then @@ -155,7 +155,7 @@ extra_command "enabled" "Check if service is started on boot" reload() { if eval "type reload_service" 2>/dev/null >/dev/null; then - procd_lock + #procd_lock reload_service "$@" else start diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index d86b7219da..b94ad43e3e 100644 --- a/package/system/procd/files/procd.sh +++ b/package/system/procd/files/procd.sh @@ -68,7 +68,7 @@ _procd_call() { } _procd_wrapper() { - procd_lock + #procd_lock while [ -n "$1" ]; do eval "$1() { _procd_call _$1 \"\$@\"; }" shift