From 7b888f21306a4cf6ccddaf545c6e52b7363c58aa Mon Sep 17 00:00:00 2001 From: Maciek Borzecki Date: Sun, 18 Jan 2015 21:09:06 +0100 Subject: [PATCH] mconnect.conf: sample configuration --- Makefile.am | 4 ++++ mconnect.conf | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 mconnect.conf diff --git a/Makefile.am b/Makefile.am index ac62bec..0d08959 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,6 +20,10 @@ applicationsdir = $(datadir)/applications applications_DATA = mconnect.desktop +mconnectdatadir = $(sysconfdir)/mconnect + +mconnectdata_DATA = mconnect.conf + bin_PROGRAMS = mconnect noinst_PROGRAMS = test-mconn-crypt \ diff --git a/mconnect.conf b/mconnect.conf new file mode 100644 index 0000000..d4ca2b2 --- /dev/null +++ b/mconnect.conf @@ -0,0 +1,37 @@ +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# AUTHORS +# Maciek Borzecki +# +[main] +# set to 1 to enable debug logging +debug = 0 +# list of device settings, entries are group names +devices = moto-g;moto-x + +# Each device gets a separate group. Device settings will be applied +# if `name` and `type` fields are an exact match +[moto-g] +# device name as sent in identity +name = Motorola Moto G +# type: phone, tablet, computer +type = phone +# device allowed, pairing will happen automa +allowed = 1 + +# Other example +[moto-x] +name = Some else's Motorola Moto X +type = phone +allowed = 1 \ No newline at end of file