I don’t think you need to modify the script.
I suppose the right way is to use
option ip_source 'script'
option ip_script '/path/to/script.sh'
and implement the address detection logic in the custom script.
I don’t think you need to modify the script.
I suppose the right way is to use
option ip_source 'script'
option ip_script '/path/to/script.sh'
and implement the address detection logic in the custom script.