[update]command:/usr/local/opnsense/scripts/custom/haproxy-alias.shparameters:%stype:scriptmessage:Updating HAProxy Alias %sdescription:Update HAProxy Alias
#!/bin/cshif ( $#argv == 0 ) exit 1configctl filter list table "$1" > "/var/haproxy/$1.lst"chown 80:80 "/var/haproxy/$1.lst"exit 0
Perhaps these instructions refer to a previous analysis, because I did not understand the need to establish paths that begin with /login/.In any case, I don't see in the code where you check for /login/What is the goal you aim to achieve?
sh haproxy-alias.shhaproxy-alias.sh: 2: Syntax error: word unexpected (expecting "then")
root@OPNsense:/usr/local/opnsense/scripts/custom # csh haproxy-alias.sh Geo_Franceexit: Badly formed number.