diff options
-rw-r--r-- | packaging/connman.spec | 4 | ||||
-rw-r--r-- | resources/var/lib/connman/settings | 15 |
2 files changed, 19 insertions, 0 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec index 071b410a..830977e6 100644 --- a/packaging/connman.spec +++ b/packaging/connman.spec @@ -118,6 +118,9 @@ install -m644 %{SOURCE11} %{buildroot}%{_unitdir} %install_service multi-user.target.wants connman-ntp.service %endif +mkdir -p %{buildroot}%{_localstatedir}/lib/connman +cp resources/var/lib/connman/settings %{buildroot}%{_localstatedir}/lib/connman/settings + mkdir -p %{buildroot}%{_sysconfdir}/connman cp src/main.conf %{buildroot}%{_sysconfdir}/connman/main.conf @@ -151,6 +154,7 @@ systemctl daemon-reload %{_sbindir}/* %{_libdir}/connman/plugins/*.so %{_datadir}/man/* +%attr(600,root,root) %{_localstatedir}/lib/connman/settings %config %{_sysconfdir}/connman/main.conf %config %{_sysconfdir}/dbus-1/system.d/* %{_unitdir}/connman.service diff --git a/resources/var/lib/connman/settings b/resources/var/lib/connman/settings new file mode 100644 index 00000000..ba476b5d --- /dev/null +++ b/resources/var/lib/connman/settings @@ -0,0 +1,15 @@ + +[global] +OfflineMode=false + +[WiFi] +Enable=false + +[Bluetooth] +Enable=true + +[Wired] +Enable=true + +[Cellular] +Enable=true |