thanx Leighton, i fixed the problem
random: @if [ -e /dev/urandom ] ; then \ i removed the empty line between random and @if [ -e /dev/urandom ] ; then \ and changed -c to -e.now it is workign fine thanx alot for u r help regard's shiva shankar 2009/7/31 Leighton Man <l.j....@hud.ac.uk> > Hi, > I had this problem a while back on solaris 10. -e in the if statement > doesn't work. -c worked for me. > Hope this helps, > Leighton > > > -----Original Message----- > > From: > > freeradius-users-bounces+l.j.man=hud.ac...@lists.freeradius.or > > g > > [mailto:freeradius-users-bounces+l.j.man<freeradius-users-bounces%2Bl.j.man> > =hud.ac...@lists.freer > adius.org] On Behalf Of shivashankar > > Sent: 31 July 2009 08:36 > > To: freeradius-users@lists.freeradius.org > > Subject: bootstrap problem > > > > > > hi, > > > > i am using Freeradius2.1.6 > > > > > > bash-3.00# /usr/local/etc/raddb/certs/bootstrap > > sh: test: argument expected > > *** Error code 1 > > The following command caused the error: > > if [ -e /dev/urandom ] ; then \ > > dd if=/dev/urandom of=./random count=10 >/dev/null > > 2>&1; \ else \ > > date > ./random; \ > > fi > > make: Fatal error: Command failed for target `random' > > Generating DH parameters, 1024 bit long safe prime, generator > > 2 This is going to take a long time > > .................................................................... > > .................................................................... > > ............................................+....................... > > .................................................................... > > ..........................+......................................... > > ....................................................+.........+..... > > .........+.........................+.............................+.. > > -- > > View this message in context: > > http://www.nabble.com/bootstrap-problem-tp24752354p24752354.html > > Sent from the FreeRadius - User mailing list archive at Nabble.com. > > > > - > > List info/subscribe/unsubscribe? See > > http://www.freeradius.org/list/users.html > > > > <img src="http://www.hud.ac.uk/images/emails/neutral_navy_blue_003976.gif" > alt="Inspiring tomorrow's professionals"> > --- > This transmission is confidential and may be legally privileged. If you > receive it in error, please notify us immediately by e-mail and remove it > from your system. If the content of this e-mail does not relate to the > business of the University of Huddersfield, then we do not endorse it and > will accept no liability. > > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html > -- regard's shiva shankar
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html