Corrected functionality of Exec-Program-Wait, as the FreeRADIUS
[freeradius.git] / scripts / exec-program-wait
1 #!/bin/sh
2 #
3 # $Id$
4 #
5 #  Sample script to run when a user's file entry is like:
6 #
7 #bob    Password == "bob"
8 #       Exec-Program-Wait = "/path/to/program/exec-program-wait"
9 #
10 #
11 #  The 
12 #
13 echo "Reply-Message += \"Hello, %u\","
14 echo "Reply-Message += \"PATH=$PATH\","
15 echo Framed-IP-Address = 255.255.255.255
16 exit 0