(RADIATOR) Shutdown in a Hook

2004-01-05 Thread Jerome Fleury
Hello there, under certain conditions, I would like Radiator to shutdown itself inside a hook. I tried: if ($@) { &main::log($main::LOG_ERROR, " (jeje) cannot recreate data structures from \"$config_file\": [EMAIL PROTECTED] Exiting.") if $@; close CONF; &main::shu

Re: (RADIATOR) Shutdown in a Hook

2004-01-05 Thread Matthew Trout
On Mon, Jan 05, 2004 at 06:16:17PM +0100, Jerome Fleury wrote: > Hello there, > > under certain conditions, I would like Radiator to shutdown itself inside a hook. I > tried: > > if ($@) { > &main::log($main::LOG_ERROR, " (jeje) cannot recreate data structures from > \"$config_file\

RE: (RADIATOR) Shutdown in a Hook

2004-01-05 Thread Frank Danielson
05, 2004 12:16 PM To: [EMAIL PROTECTED] Subject: (RADIATOR) Shutdown in a Hook Hello there, under certain conditions, I would like Radiator to shutdown itself inside a hook. I tried: if ($@) { &main::log($main::LOG_ERROR, " (jeje) cannot recreate data structures from \&quo

Re: (RADIATOR) Shutdown in a Hook

2004-01-05 Thread Robert Blayzor
On 1/5/04 1:49 PM, "Frank Danielson" <[EMAIL PROTECTED]> wrote: > How about using- > > kill '1',$$ > > or if you are in a hurry- > > kill '9',$$ Actually if you are in that much a hurry why bother with kill when you can just exit(); -- Robert Blayzor, BOFH INOC, LLC [EMAIL PROTECTED] PGP: ht

Re: (RADIATOR) Shutdown in a Hook

2004-01-05 Thread Hugh Irvine
Salut Jerome - Bonne Annee! The "main::shutdown" routine does not itself stop the server. Have a look at the code in "radiusd" in the Radiator 3.8 top level distribution directory. regards Hugh On 06/01/2004, at 4:16 AM, Jerome Fleury wrote: Hello there, under certain conditions, I would l