pascal weller wrote:
> ifconfig should know your ip as well ;)
>
> I use:
>
> inet_ip=$(/sbin/ifconfig $inet | awk '/inet addr/ { gsub(".*:", "", $2)
> ; print $2 }')
>
> PascalThanks, I modified things to suit my system and everything appears to be working fine :-) Any ideas on how I could get my firewall script to re-execute after a DHCP client lease expires and renews? Stef

