Chhai Thach wrote:
I have been trying to execute a perl script using Exec-Program-Wait.Exec-Program-Wait = '/your/perl/script' ?
First I created an SH file called exec-program-wait, then from inside
the sh program, I run ./myperlscript
I get this error:
radius_xlat: '/usr/tarka/bin/exec-program-wait'
Exec-Program: /usr/tarka/bin/exec-program-wait
/usr/tarka/bin/exec-program-wait: ./myperlscript: No such file or
directory
Exec-Program-Wait: value-pairs: Reply-Message += "Hello, %u", Exec-Program: returned: 0
My purpose is to run the perl script, rather than SH. And it seems this
is the only way I can figure out how.
Can any help? Thanks.
@+
--
DouRiX
[MISERICORDE, n. A dagger which in mediaeval warfare was used by the foot
soldier to remind an unhorsed knight that he was mortal. -- Ambrose Bierce]
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html