freeradius-server version 2.x has been marked End-Of-Life. This commit adds freeradius-server version 3.0.11 in a new package. This commit also introduces the option "freeradius3-default" which activate all modules needed to run radiusd with its default configuration. - rlm_digest (HTTP Digest Authentication) has been added - rlm_unix (System Authentication) has been added - rlm_attr_rewrite has been deleted Note that SQL and LDAP support has been disabled. Signed-off-by: Lucile Quirion <lucile.quirion@savoirfairelinux.com>
27 lines
489 B
Bash
27 lines
489 B
Bash
#!/bin/sh /etc/rc.common
|
|
#
|
|
# Copyright (C) 2006-2015 OpenWrt.org
|
|
#
|
|
|
|
USE_PROCD=1
|
|
|
|
START=50
|
|
|
|
NAME=radiusd
|
|
PROG=/usr/sbin/radiusd
|
|
DEFAULT=/etc/default/radiusd
|
|
|
|
start_service()
|
|
{
|
|
[ -f $DEFAULT ] && . $DEFAULT
|
|
mkdir -p /var/log
|
|
mkdir -p /var/run
|
|
mkdir -p /var/db/radacct
|
|
|
|
procd_open_instance
|
|
procd_set_param command $PROG
|
|
[ -n "$IPADDR" ] && procd_append_param command -i $IPADDR
|
|
[ -n "$OPTIONS" ] && procd_append_param command $OPTIONS
|
|
procd_set_param respawn
|
|
procd_close_instance
|
|
}
|