corewatcher-config: add command line tool for editing the config file
authorChris Leech <christopher.leech@linux.intel.com>
Thu, 14 Apr 2011 21:00:29 +0000 (14:00 -0700)
committerChris Leech <christopher.leech@linux.intel.com>
Thu, 14 Apr 2011 21:00:29 +0000 (14:00 -0700)
commitc9dded413c4cd7d5bb0732dcd3a681008c54a83f
treec681668d27eda782e66a1363cb3ede08613813a3
parent1e110aed571e20c1b09b5ea86eab92b53a530568
corewatcher-config: add command line tool for editing the config file

Simple tool using the glib keyfile support to get and set key/value pairs.
Intended to be used to script configuration changes, such as.

# corewatcher-config --set allow-submit=yes

Default config file changes add a required group header for glib and whitespace
changes to reflect what happens when the glib keyfile routines read and then
write back the file.

Signed-off-by: Chris Leech <christopher.leech@linux.intel.com>
Makefile
configfile.c
corewatcher-config.c [new file with mode: 0644]
corewatcher.conf