![hauke](/assets/img/avatar_default.png)
Update radsecproxy to version 1.6.5 and convert the init script to use procd, and start later during boot to ensure name service is operational. Introduces a small patch to radsecproxy which prevents it from forcing log output to stderr when run in the foreground, thus making it possible to simply run it in this mode for procd management. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> git-svn-id: svn://svn.openwrt.org/openwrt/packages@40635 3c298f89-4303-0410-b956-a3cf2f4a3e73
17 lines
312 B
Bash
17 lines
312 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
|
|
|
START=70
|
|
|
|
USE_PROCD=1
|
|
PROG=/usr/sbin/radsecproxy
|
|
CONFFILE=/etc/radsecproxy.conf
|
|
|
|
start_service() {
|
|
procd_open_instance
|
|
procd_set_param command $PROG -f -c $CONFFILE
|
|
procd_set_param file $CONFFILE
|
|
procd_set_param respawn
|
|
procd_close_instance
|
|
}
|