Hello Marc, On Sun, 11 Aug 2002 11:31, Hugh Irvine wrote:
> > Begin forwarded message: > > From: Marc Liyanage <[EMAIL PROTECTED]> > > Date: Sat Aug 10, 2002 07:07:08 PM Australia/Melbourne > > To: [EMAIL PROTECTED] > > Subject: Re: (RADIATOR) Issue with restartWrapper > > > > On Samstag, August 10, 2002, at 03:12 Uhr, Hugh Irvine wrote: > >> Then I use fully qualified pathnames in my scripts (including perl). > >> > >> PERL=/usr/bin/perl > >> RADIUSDIR=/usr/local/src/Radiator/Radiator-3.1 > >> RESTARTWRAPPER=RADIUSDIR/goodies/restartWrapper > >> RADIATOR_CONFIG=/usr/local/etc/radius/radius.cfg > >> RADIATOR_ARGS= > >> > >> PERL RADIUSDIR/radiusd ....... > >> > >> This way, I can keep different versions of Radiator and switch amongst > >> them quickly and easily. > >> > >> And the same is true of Perl itself if I need to have different > >> versions of Perl available. > > > > This all sounds very reasonable. But then I would suggest that you at > > least make sure that all scripts you deliver contain the *same* perl > > line, not some with /usr/bin/perl and others with /usr/local/bin/perl. > > > > Additionally, those lines you suggested above should be incorporated > > into your init script. Explicitly running perl and passing the radiusd > > or restartWrapper scripts as arguments instead of invoking them > > directly is a smart solution to my problem, so it would be nice if your > > init script used this method by default. > > > > > > The reason I'm interested in useful defaults is that we use only RPMs > > in our system. Ideally I want to use your code unaltered and all my > > changes or site-specific customizations should end up in my RPM spec > > file. Every change I have to do in your code means I either have to > > replace it with our own version or write a separate patch file and > > apply that during the package build. The /usr/local/bin/perl is an > > example. The default on almost every system I know is /usr/bin/perl. That is true enough now, although it was not always so. We have now changed the default path for all executables in goodies to /usr/bin/perl for the next release. Thanks for the suggestion. Cheers. > > > > > > Cheers > > > > -Marc > > > > > > _________________________________________________________________ > > Marc Liyanage futureLAB AG > > > > phone: +41 52 260 22 10 > > [EMAIL PROTECTED] fax: +41 52 260 22 23 > > http://www.futurelab.ch mobile: +41 76 554 22 10 > > _________________________________________________________________ > > > > === > > Archive at http://www.open.com.au/archives/radiator/ > > Announcements on [EMAIL PROTECTED] > > To unsubscribe, email '[EMAIL PROTECTED]' with > > 'unsubscribe radiator' in the body of the message. -- Mike McCauley [EMAIL PROTECTED] Open System Consultants Pty. Ltd Unix, Perl, Motif, C++, WWW 24 Bateman St Hampton, VIC 3188 Australia http://www.open.com.au Phone +61 3 9598-0985 Fax +61 3 9598-0955 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory etc etc on Unix, Win95/8, 2000, NT, MacOS 9, MacOS X etc etc === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.