146. .sysconfig.SuSEfirewall2

146.1. Description

Read/Sets the values defined in /etc/sysconfig/SuSEfirewall2 in an easy manner.

File Name: /usr/share/YaST2/scrconf/cfg_firewall2.scr

146.2. Usage

Example 74. 

  Dir(.sysconfig.SuSEfirewall2)
  (["FW_ROUTE", ...])

  Read(.sysconfig.SuSEfirewall2.FW_ROUTE)
  ("yes")

  Write(.sysconfig.SuSEfirewall2.FW_ROUTE, "no")
  (true)

  // Don't forget to write nil to sync the settings!
  Write(.sysconfig.SuSEfirewall2, nil)