.IR condition ]
.RB [ \-d
.IR config_directory ]
+.RB [ \-n
+.IR name ]
.RB [ \-i
.IR ipv4-address ]
.RB [ \-I
.IP "\-d \fIconfig directory\fP"
The radius configuration directory, usually /etc/raddb. See the
\fIradmin\fP manual page for more description of this option.
+.IP "\-n \fImname\fP"
+Read \fIraddb/name.conf\fP instead of \fIraddb/radiusd.conf\fP.
.IP \-I\ \fIipv6-address\fP
Show debug output for the client having the given IPv6 address. This
option is equivalent to using:
#
usage() {
- printf "Usage: %s: [-c condition] [-d directory] [-D dictdir] [-i client-ip-address] [-I client-ipv6-address] [-f socket_file] [-t timeout] [-u user]\n" $(basename $0) >&2
+ printf "Usage: %s: [-c condition] [-d directory] [-n name] [-D dictdir] [-i client-ip-address] [-I client-ipv6-address] [-f socket_file] [-t timeout] [-u user]\n" $(basename $0) >&2
exit 2
}
extra=
condition=1
timeout=60
-while getopts 'd:D:c:i:I:f:t:u:' OPTION
+while getopts 'd:n:D:c:i:I:f:t:u:' OPTION
do
case $OPTION in
c) condition="$OPTARG"
;;
d) extra="$extra -d $OPTARG"
;;
+ n) extra="$extra -n $OPTARG"
+ ;;
D) extra="$extra -D $OPTARG"
;;
i) x="(Packet-Src-IP-Address == $OPTARG)"