Browse Source

mconnect.conf: sample configuration

bboozzoo/device-cache
Maciek Borzecki 10 years ago
parent
commit
7b888f2130
2 changed files with 41 additions and 0 deletions
  1. +4
    -0
      Makefile.am
  2. +37
    -0
      mconnect.conf

+ 4
- 0
Makefile.am View File

@ -20,6 +20,10 @@ applicationsdir = $(datadir)/applications
applications_DATA = mconnect.desktop applications_DATA = mconnect.desktop
mconnectdatadir = $(sysconfdir)/mconnect
mconnectdata_DATA = mconnect.conf
bin_PROGRAMS = mconnect bin_PROGRAMS = mconnect
noinst_PROGRAMS = test-mconn-crypt \ noinst_PROGRAMS = test-mconn-crypt \


+ 37
- 0
mconnect.conf View File

@ -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 <maciek.borzecki (at] gmail.com>
#
[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

Loading…
Cancel
Save