New build path variable
[freeradius.git] / scripts / radiusd.sh
1 #!/bin/sh
2 #
3 #  The purpose of this script is to forcibly load the *correct* version
4 #  of OpenSSL for FreeRADIUS, when you have more than one version of OpenSSL
5 #  installed on your system.
6 #
7 #  You'll have to edit the directories to the correct location
8 #  for your local system.
9 #
10 #       $Id$
11 #
12
13 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/ssl/lib:/usr/local/radius/lib
14 LD_PRELOAD=/usr/local/ssl/lib/libcrypto.so
15
16 export LD_LIBRARY_PATH LD_PRELOAD
17 exec /usr/local/radius/sbin/radiusd $@