procd: disable lock

This commit is contained in:
Lienol 2020-05-13 00:23:11 +08:00
parent b83fb0a510
commit 1a6231f0ed
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -68,7 +68,7 @@ _procd_call() {
}
_procd_wrapper() {
procd_lock
#procd_lock
while [ -n "$1" ]; do
eval "$1() { _procd_call _$1 \"\$@\"; }"
shift