From f8ef39c96ed117d3dd7a93ff846308fbd3491fdb Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 25 Oct 2010 20:48:55 +0200 Subject: [PATCH] build: Add example configuration for phonesim plugin --- Makefile.am | 6 +++++- plugins/phonesim.conf | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 plugins/phonesim.conf diff --git a/Makefile.am b/Makefile.am index a1b8a8df..159c13c4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -233,6 +233,10 @@ builtin_sources += drivers/atmodem/atutil.h \ if PHONESIM builtin_modules += phonesim builtin_sources += plugins/phonesim.c + +if DATAFILES +conf_DATA += plugins/phonesim.conf +endif endif builtin_modules += atgen @@ -412,7 +416,7 @@ testdir = $(pkglibdir)/test test_SCRIPTS = $(test_scripts) endif -conf_files = src/ofono.conf +conf_files = src/ofono.conf plugins/phonesim.conf EXTRA_DIST = src/genbuiltin $(conf_files) $(udev_files) \ $(doc_files) $(test_scripts) diff --git a/plugins/phonesim.conf b/plugins/phonesim.conf new file mode 100644 index 00000000..74bb645e --- /dev/null +++ b/plugins/phonesim.conf @@ -0,0 +1,14 @@ +# This is a sample file for the phonesim configuration +# +# It should be installed in your oFono system directory, +# e.g. /etc/ofono/phonesim.conf +# +# Each group is parsed as a modem device +# +# Each group shall at least define the address and port +# Address = +# Port = + +#[phonesim] +#Address=127.0.0.1 +#Port=12345