Fixes issue openwrt#3403 "radiusd requires a temporary directory to be existent for certain operations, like verification of certificates."
Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
This fixes two issues with the freeradius package init scripts:
- The package installs libraries in /usr/lib/freeradius{2,3}, but the
musl dynamic linker won't find them there unless LD_LIBRARY_PATH is
set to include this directory. This adds an appropriate env statement
to the procd init setup.
- procd expects services to stay in the foreground, or it will be unable
to properly shut them down again. This adds the -f flag to radiusd to
achieve that.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
The initscript originally imported from oldpackages no longer does
the job, sed'ery around ifconfig is just not the way.
Remove stuff which can also be done via /etc/freeradius2/* or
/etc/default/radiusd instead.
Fixes#1769 and #1193
Signed-off-by: Daniel Golle <daniel@makrotopia.org>