Re: Adding comments to /etc/sysconfig/iptables

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



Ouch you're correct. I only tried end-of-line comments, sorry

On Sun, Apr 24, 2011 at 9:30 AM, Nicolas Thierry-Mieg
<Nicolas.Thierry-Mieg@xxxxxxx> wrote:
> Alexander Farber wrote:
>> Is there a way to add comments to the iptables file?
>> A hash mark # does not seem to work.
>
> assuming you are talking about /etc/sysconfig/iptables , hash is indeed
> the comment mark, and works fine.
> In my file on this system all comment lines have a hash as first
> character on the line though, so perhaps it doesn't like end-of-line
> comments but only accepts full lines of comment.
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux