resolves: bug#781744

systemd service file incorrectly listed pid file as
/var/run/radiusd/radiusd which it should have been
/var/run/radiusd/radiusd.pid
This commit is contained in:
John Dennis 2012-01-15 15:41:23 -05:00
parent 063c06395e
commit 07c0ba9a07

13
freeradius-radtest.patch Normal file
View File

@ -0,0 +1,13 @@
diff -u -r freeradius-server-2.1.12.orig/src/main/radtest.in freeradius-server-2.1.12/src/main/radtest.in
--- freeradius-server-2.1.12.orig/src/main/radtest.in 2011-09-30 10:12:07.000000000 -0400
+++ freeradius-server-2.1.12/src/main/radtest.in 2012-01-05 15:51:56.877585514 -0500
@@ -121,7 +121,7 @@
echo "EAP-Code = Response"
echo "EAP-Type-Identity = \"$1\""
fi
- if [ "$6" ]
+ if [ ! -z "$6" ] && [[ $6 =~ ^[0-9]+$ ]] && [ $6 -gt 0 ]
then
echo "Framed-Protocol = PPP"
fi
Only in freeradius-server-2.1.12/src/main: radtest.in~