How can i change Configure file.
Hi all I have one problem. I want to pass config parameters in one Config.ini My Config.ini file is like: --no-create --sysconfdir=/home/manoj/RadiusServer --with-logdir=/home/manoj/RadisuServer When I w run config file like ./configure < Config.ini But radius server was configured as default setting. But I want to change default setting. I want to pass all parameter in one file instead of Command line argument. How can I do that requirements ? Thanks & Regard Manoj Patel MBT Ltd-Pune, Next Generation Network (IN) group Phone: (020) 56018100 (Exnt: 2845) Mobile: +91-9881403519 ********************************************************* Disclaimer: The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of MBT and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of MBT. This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and MBT is not responsible for any loss or damage arising in any way from its use *********************************************************
Manojkumar Patel wrote:
My Config.ini file is like: --no-create --sysconfdir=/home/manoj/RadiusServer --with-logdir=/home/manoj/RadisuServer When I w run config file like ./configure < Config.ini But radius server was configured as default setting. But I want to change default setting. I want to pass all parameter in one file instead of Command line argument. How can I do that requirements ?
You could try this command line: $ xargs ./configure < Config.ini And please turn HTML off when posting to a mailing list. http://freeradius.org/list/users.html -- Nicolas Baradakis
Nicolas Baradakis wrote:
Manojkumar Patel wrote:
My Config.ini file is like: --no-create --sysconfdir=/home/manoj/RadiusServer --with-logdir=/home/manoj/RadisuServer When I w run config file like ./configure < Config.ini But radius server was configured as default setting. But I want to change default setting. I want to pass all parameter in one file instead of Command line argument. How can I do that requirements ?
You could try this command line: $ xargs ./configure < Config.ini
And please turn HTML off when posting to a mailing list. http://freeradius.org/list/users.html
And the reason you would do that is because configure scripts do not read stdin, they expect their parameters to be passed to them as command line arguments. And wouldnt xargs do it once per arg? You might as well simply make a shell script that looks like this. ./configure\ --no-create\ --sysconfdir=/home/manoj/RadiusServer\ --with-logdir=/home/manoj/RadisuServer And consider that running a radius server from your home directory is only usefull or good practice for testing/debugging purposes. For anything else, use the system standard locations and utilize /usr/local or /opt And your spelling/capitalization of RadiusServer is going to cause you nothing but trouble. Make it simple and call it radius. Or call it raddb
participants (3)
-
Joe Maimon -
Manojkumar Patel -
Nicolas Baradakis