mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-18 22:11:31 +03:00
custom.d: DISABLE_CUSTOM switch
This commit is contained in:
parent
207a6faf33
commit
f8bd218e67
@ -3,6 +3,8 @@ custom_runner()
|
||||
# $1 - function name
|
||||
# $2+ - params
|
||||
|
||||
[ "$DISABLE_CUSTOM" = 1 ] && return 0
|
||||
|
||||
local n script FUNC=$1
|
||||
|
||||
shift
|
||||
|
Loading…
Reference in New Issue
Block a user