[yast-devel] Ini agent help: YCP
Hi I was writing a custom SCR agent for reading popcorn.conf configuration file which looks like: [settings] popcorn_enabled=1 post_server=localhost:5000 post_uri=/ hwuuid_file=/var/lib/dbus/machine-id What should be the correct regex for "comments" and "params" here? Thanks, Akshit -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
V Mon, 30 Jul 2012 20:03:12 +0530 Akshit Khurana <axitkhurana@gmail.com> napsáno:
Hi
I was writing a custom SCR agent for reading popcorn.conf configuration file which looks like:
[settings] popcorn_enabled=1 post_server=localhost:5000 post_uri=/ hwuuid_file=/var/lib/dbus/machine-id
What should be the correct regex for "comments" and "params" here?
As you probably already know ini-agent documentation, best way to continue is to learn on examples. Go to /usr/share/YaST2/scrconf, grep for 'ag_ini' and look at existing ones. Jiri -- Jiri Suchomel SUSE LINUX, s.r.o. Lihovarská 1060/12 tel: +420 284 028 960 190 00 Praha 9, Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (2)
-
Akshit Khurana
-
Jiří Suchomel