[Chilli] macup/macdown passing/using parameters

Ravikant Patil ravikant.4784 at gmail.com
Tue May 7 14:15:42 UTC 2013


Many thanks Xabier !! It works very well.

Regards,

Ravikant


On Tue, May 7, 2013 at 7:28 PM, Xabier Oneca -- xOneca <xoneca at gmail.com>wrote:

> Scripts get parameters as environment variables, at least in
> conup/condown, ipup/ipdown.
>
> Maybe with the following script that outputs all environment to stderr you
> can see in chilli log messages what are those variables...
>
> ============
> #!/bin/sh
> set >&2
> ============
> --
> Xabier Oneca_,,_
> El 07/05/2013 15:17, "Ravikant Patil" <ravikant.4784 at gmail.com> escribió:
>
>>
>> Hi all,
>>
>> I would like to use *macup *and* macdown *options to get specific
>> information about client connection - mac address, dhcp information etc.
>>
>> It seems, No parameters are passed to these scripts. Can anyone tell me
>> how do I access these parameters in macup/macdown script?
>>
>> Correct me if I am wrong.
>>
>> Thank you.
>> ​​
>>
>> Regards,
>> Ravikant
>>
>> _______________________________________________
>> Chilli mailing list
>> Chilli at coova.org
>> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20130507/efb2ccb2/attachment.html>


More information about the Chilli mailing list