[Chilli] macup/macdown passing/using parameters

Xabier Oneca -- xOneca xoneca at gmail.com
Tue May 7 13:58:00 UTC 2013


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/2bf75c7c/attachment.html>


More information about the Chilli mailing list