diff options
author | Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> | 2013-09-18 14:15:27 +0200 |
---|---|---|
committer | Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> | 2013-09-18 14:15:27 +0200 |
commit | 7f819a0f704aa17d087c8dcf5d6871fd4cf80ec9 (patch) | |
tree | ea5c746dcd48218b1bd72b302b43954f728c2d2d | |
parent | a6c92e94e2eeb562ddf833d4969b32f4ef01a841 (diff) | |
download | neard-tizen_ivi_release.tar.gz neard-tizen_ivi_release.tar.bz2 neard-tizen_ivi_release.zip |
Install main.conf file in %{_sysconfdir}/neard and make DefaultPowered truesubmit/tizen_ivi_release/20131120.032317submit/tizen_ivi_genivi/20140131.030358submit/tizen/20130923.012832ivi_oct_m2accepted/tizen_ivi_release/20131120.050200accepted/tizen/ivi/genivi/20140131.034722accepted/tizen/20130923.214004accepted/tizen/20130923.194822accepted/tizen/20130923.194228accepted/tizen/20130923.030139tizen_ivi_releasetizen_ivi_geniviaccepted/tizen/ivi/releaseaccepted/tizen/ivi/genivi
Fix TIVI-1825: [3.0] NFC adapters are not enabled by default
Change-Id: Ia55f32058cdcbc31ae4beadd9d9be0067ff84f37
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
-rw-r--r-- | packaging/neard.spec | 4 | ||||
-rw-r--r-- | src/main.conf | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/packaging/neard.spec b/packaging/neard.spec index 054e57b..9fb25ec 100644 --- a/packaging/neard.spec +++ b/packaging/neard.spec @@ -68,6 +68,9 @@ install -d %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/ ln -s ../neard.service %{buildroot}%{_libdir}/systemd/system/network.target.wants/neard.service ln -s ../neard.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/neard.service +mkdir -p %{buildroot}%{_sysconfdir}/neard +cp src/main.conf %{buildroot}%{_sysconfdir}/neard/main.conf + %post systemctl daemon-reload systemctl restart neard.service @@ -83,6 +86,7 @@ systemctl daemon-reload %license COPYING %{_mandir}/man*/* %{_libexecdir}/nfc/neard +%config %{_sysconfdir}/neard/main.conf %config %{_sysconfdir}/dbus-1/system.d/org.neard.conf %{_libdir}/systemd/system/neard.service %{_libdir}/systemd/system/network.target.wants/neard.service diff --git a/src/main.conf b/src/main.conf index ccaa871..6ebfb5f 100644 --- a/src/main.conf +++ b/src/main.conf @@ -4,7 +4,7 @@ # Constant polling will automatically trigger a new # polling loop whenever a tag or a device is no longer # in the RF field. -ConstantPoll = true +ConstantPoll = false # Automatically turn an adapter on when being discovered. # Default value is false. |