<div dir="ltr"><div><div><div><div><div>Hello<br><br></div>I want to make some additional checks under authorization.<br></div>I edited default file in preprocess section.<br></div>This is how I want to make it:<br><br>   preprocess<br>
<br><br>if (%{exec:/path/to/script.sh} == "some numbers"){<br>                                        update control {<br>                                        Auth-Type := "Accept"<br>                                                        }<br>
                                     }<br>            else {<br>                    update control {<br>                                         Auth-Type := "Reject"<br>                                                        }<br>
                                   }<br><br></div>However this doesn't work.<br>Debug shows:<br>Bare %{...} is invalid in condition at: %{exec:/path/to/script.sh} == "some numbers")<br> What im doing wrong ?<br>
</div>Is there possibility to execute remote script in this place ?<br></div>