mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-18 14:01:30 +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
|
# $1 - function name
|
||||||
# $2+ - params
|
# $2+ - params
|
||||||
|
|
||||||
|
[ "$DISABLE_CUSTOM" = 1 ] && return 0
|
||||||
|
|
||||||
local n script FUNC=$1
|
local n script FUNC=$1
|
||||||
|
|
||||||
shift
|
shift
|
||||||
|
Loading…
Reference in New Issue
Block a user