summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Coval <philippe.coval@eurogiciel.fr>2013-04-22 17:58:20 +0200
committerPhilippe Coval <philippe.coval@eurogiciel.fr>2013-04-22 17:58:20 +0200
commit686988fe71512ad2bc727acc5c699ca480eae183 (patch)
treef197c84ae257f7d44d503c39f161fa2936692a83
parent2df78d1b98b20f6c6cddd5dc63876960fe0c9bab (diff)
downloadconnman-686988fe71512ad2bc727acc5c699ca480eae183.tar.gz
connman-686988fe71512ad2bc727acc5c699ca480eae183.tar.bz2
connman-686988fe71512ad2bc727acc5c699ca480eae183.zip
spec: enable WiFi by default ( Bug-Tizen: #TZPC-2019 )submit/devel/20130422.155849
-rw-r--r--packaging/connman.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec
index d5e6d6fb..078dfbf7 100644
--- a/packaging/connman.spec
+++ b/packaging/connman.spec
@@ -1,6 +1,6 @@
Name: connman
Version: 1.12
-Release: 1
+Release: 0
License: GPL-2.0
Summary: Connection Manager
Url: http://connman.net
@@ -88,6 +88,9 @@ ln -s ../connman.service %{buildroot}%{_unitdir}/network.target.wants/connman.se
%{_unitdir}/network.target.wants/connman.service
%{_unitdir}/multi-user.target.wants/connman.service
+%post
+conf=/var/lib/connman/settings
+[ -r $conf ] || printf '[WiFi]\nEnable=True\n' > $conf
%files test
%{_libdir}/%{name}/test/*
@@ -101,5 +104,3 @@ ln -s ../connman.service %{buildroot}%{_unitdir}/network.target.wants/connman.se
%{_libdir}/connman/plugins-vpn/openconnect.so
%{_libdir}/connman/scripts/openconnect-script
%{_datadir}/dbus-1/system-services/net.connman.vpn.service
-
-%changelog