mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-18 09:51:26 +00:00
- add ovsdb schema for radsec and radius proxy config - add radsec and radius proxy functionality - add APC functionality for radsec and radius proxy Send APC mode information through ubus from APC application to WM. Use the APC mode to direct the configuration of radius proxy. We get this information from APC: mode: DR (Designated Router) BDR (Back up Designated Router) OR (Other Router) NC (Not connected/Not configured) bdr_addr: IP of the BDR dr_addr: IP of the DR enabled: If Enabled/Disabled Signed-off-by: Arif Alam <arif.alam@netexperience.com> Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
21 lines
304 B
Bash
21 lines
304 B
Bash
#!/bin/sh /etc/rc.common
|
|
|
|
USE_PROCD=1
|
|
START=40
|
|
STOP=40
|
|
|
|
PROG="/usr/bin/apc"
|
|
|
|
start_service() {
|
|
procd_open_instance
|
|
echo "Starting APC"
|
|
procd_set_param command ${PROG}
|
|
procd_set_param respawn
|
|
procd_close_instance
|
|
}
|
|
|
|
stop_service() {
|
|
echo "Killing APC"
|
|
killall -s SIGTERM apc
|
|
}
|