Re: Script treats variable as command

2003-10-17 Thread lrnobs
t; Sent: Friday, October 17, 2003 10:22 PM Subject: Re: Script treats variable as command > On Sat, 2003-10-18 at 10:56, lrnobs wrote: > > I found a script for setting iptables on the internet that I like so far. > > > > The author declares some variables and then uses them l

Re: Script treats variable as command

2003-10-17 Thread Ed Greshko
On Sat, 2003-10-18 at 10:56, lrnobs wrote: > I found a script for setting iptables on the internet that I like so far. > > The author declares some variables and then uses them later on in the script > ie IFACE="eth0" > > When I try to run the script with ./iptables.rules I get a message that >

Script treats variable as command

2003-10-17 Thread lrnobs
I found a script for setting iptables on the internet that I like so far. The author declares some variables and then uses them later on in the script ie IFACE="eth0" When I try to run the script with ./iptables.rules I get a message that IFACE is not a command. I tried $IFACE with the same re