Author: gs
Date: Tue Apr 19 13:22:44 2011
New Revision: 63829
URL: http://svn.opensuse.org/viewcvs/yast?rev=63829&view=rev
Log:
agents for writing configuration in /etc/fcoe
Added:
trunk/fcoe-client/agents/fcoe_cfg-ethx.scr
trunk/fcoe-client/agents/fcoe_config.scr
Added: trunk/fcoe-client/agents/fcoe_cfg-ethx.scr
URL: http://svn.opensuse.org/viewcvs/yast/trunk/fcoe-client/agents/fcoe_cfg-ethx.scr?rev=63829&view=auto
==============================================================================
--- trunk/fcoe-client/agents/fcoe_cfg-ethx.scr (added)
+++ trunk/fcoe-client/agents/fcoe_cfg-ethx.scr Tue Apr 19 13:22:44 2011
@@ -0,0 +1,29 @@
+/**
+ * File:
+ * fcoe_cfg-ethx.scr
+ * Summary:
+ * SCR Agent for reading/writing /etc/fcoe/cfg-ethx
+ * using the ini-agent
+ * Access:
+ * read/write
+ * Authors:
+ * Gabriele Mohr
+ * See:
+ * yast2-agent-ini/ini.html
+ * libscr
+ * Example:
+ * Read(.fcoe.cfg-ethx.FCOE_ENABLE)
+ * ("yes")
+ **
+ * Write(.fcoe.cfg-ethx.FCOE_ENABLE, "no")
+ * (true)
+ *
+ *
+ * Read/Sets the values defined in <tt>/etc/fcoe/cfg-ethx</tt>
+ * in an easy manner.
+ */
+.fcoe.cfg-ethx
+
+`ag_ini(
+ `SysConfigFile("/etc/fcoe/cfg-ethx")
+)
Added: trunk/fcoe-client/agents/fcoe_config.scr
URL: http://svn.opensuse.org/viewcvs/yast/trunk/fcoe-client/agents/fcoe_config.scr?rev=63829&view=auto
==============================================================================
--- trunk/fcoe-client/agents/fcoe_config.scr (added)
+++ trunk/fcoe-client/agents/fcoe_config.scr Tue Apr 19 13:22:44 2011
@@ -0,0 +1,29 @@
+/**
+ * File:
+ * fcoe_config.scr
+ * Summary:
+ * SCR Agent for reading/writing /etc/fcoe/config
+ * using the ini-agent
+ * Access:
+ * read/write
+ * Authors:
+ * Gabriele Mohr
+ * See:
+ * yast2-agent-ini/ini.html
+ * libscr
+ * Example:
+ * Read(.fcoe.config.USE_SYSLOG)
+ * ("yes")
+ **
+ * Write(.fcoe.cfg-ethx.USE_SYSLOG, "no")
+ * (true)
+ *
+ *
+ * Read/Sets the values defined in <tt>/etc/fcoe/config</tt>
+ * in an easy manner.
+ */
+.fcoe.config
+
+`ag_ini(
+ `SysConfigFile("/etc/fcoe/config")
+)
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org