Getting value from shell scripts

Fajar A. Nugraha list at fajar.net
Thu Oct 22 11:56:30 CEST 2015


On Thu, Oct 22, 2015 at 4:52 PM, Randeep <randeep123 at gmail.com> wrote:

> Yes I did.
>
> echo "Reply-Message += \"Hello, %u\","
> echo "Reply-Message += \"PATH=$PATH\","
> echo Framed-IP-Address = 255.255.255.255
> exit 0
>
> I'm not getting it.
>
>
Those are attributes that would go to reply (i.e. sent from radius to the
NAS). Remeber "output_pairs = reply"?

If by "apply FUP" you mean "have X attribute in reply items with value Y",
then simply

echo X = Y

If you DON'T want to apply FUP, you don't echo that. It should be that
simple.

-- 
Fajar


More information about the Freeradius-Users mailing list