From f8bd218e67708593bfb149b61702b3919fb5ccad Mon Sep 17 00:00:00 2001 From: bol-van Date: Mon, 9 Dec 2024 11:04:13 +0300 Subject: [PATCH] custom.d: DISABLE_CUSTOM switch --- common/custom.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/custom.sh b/common/custom.sh index ca0ea5f..0af19c0 100644 --- a/common/custom.sh +++ b/common/custom.sh @@ -3,6 +3,8 @@ custom_runner() # $1 - function name # $2+ - params + [ "$DISABLE_CUSTOM" = 1 ] && return 0 + local n script FUNC=$1 shift