0
0
mirror of https://github.com/bol-van/zapret.git synced 2025-06-29 18:21:16 +00:00

custom.d: DISABLE_CUSTOM switch

This commit is contained in:
bol-van 2024-12-09 11:04:13 +03:00
parent 207a6faf33
commit f8bd218e67

View File

@ -3,6 +3,8 @@ custom_runner()
# $1 - function name
# $2+ - params
[ "$DISABLE_CUSTOM" = 1 ] && return 0
local n script FUNC=$1
shift