Re: MRTG and IPTABLES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 08 January 2004 6:47 am, Gilles Yue wrote:

> Dear sir,
>
> Have tried your commands below but when I run my iptables script,
>
> I get "command not found" and it points to the line
>
> $SNMP_POLLER_IP="xxx.xxx.xxx.xxx"

There should be no $ at the beginning of this line.

Shell scripts use $ when referencing a variable, not when defining it or 
assigning to it.   This is different from Perl.

Antony.

-- 
My New Year's resolution is not to make any resolutions I can't keep.

I'm wondering whether I've failed already.

                                                     Please reply to the list;
                                                           please don't CC me.



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux