diff options
author | Corentin Lecouvey <corentin.lecouvey@eurogiciel.fr> | 2013-11-13 15:52:23 +0100 |
---|---|---|
committer | Corentin Lecouvey <corentin.lecouvey@eurogiciel.fr> | 2013-11-14 17:44:56 +0100 |
commit | 3bf2edb6427bd9309cc8820625fc94ed014322f1 (patch) | |
tree | 8a5de556707bb489433481ebf4bf03a5be008e29 | |
parent | d0138bb91fd829ddb8e8d9c2700a221e0f4f759e (diff) | |
download | connman-3bf2edb6427bd9309cc8820625fc94ed014322f1.tar.gz connman-3bf2edb6427bd9309cc8820625fc94ed014322f1.tar.bz2 connman-3bf2edb6427bd9309cc8820625fc94ed014322f1.zip |
prevent from starting connman-ntp.service at boot time
This service activates NTP in ConnMan when it is started.
So it should not be launched at boot time.
Bug-Tizen: TZPC-1974/part1of2
Change-Id: I1991041a224a864fdfc84e37f847980326fb3743
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@eurogiciel.fr>
-rw-r--r-- | packaging/connman-ntp.service | 3 | ||||
-rw-r--r-- | packaging/connman.spec | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/packaging/connman-ntp.service b/packaging/connman-ntp.service index 6ca46e25..252ac9b5 100644 --- a/packaging/connman-ntp.service +++ b/packaging/connman-ntp.service @@ -1,7 +1,6 @@ [Unit] Description=Connman NTP service Requires=connman.service -After=connman.service [Service] Type=oneshot @@ -9,5 +8,3 @@ ExecStart=/bin/bash -c "dbus-send --system --type=method_call --print-reply --de ExecStop=/bin/bash -c "dbus-send --system --type=method_call --print-reply --dest=net.connman / net.connman.Clock.SetProperty string:'TimeUpdates' variant:string:'manual'" RemainAfterExit=yes -[Install] -WantedBy=multi-user.target diff --git a/packaging/connman.spec b/packaging/connman.spec index 056c792f..55ffd0e4 100644 --- a/packaging/connman.spec +++ b/packaging/connman.spec @@ -87,8 +87,6 @@ make %{?_smp_mflags} mkdir -p %{buildroot}/usr/lib/systemd/ntp-units.d install -m644 %{SOURCE10} %{buildroot}/usr/lib/systemd/ntp-units.d install -m644 %{SOURCE11} %{buildroot}%{_unitdir} -%install_service network.target.wants connman-ntp.service -%install_service multi-user.target.wants connman-ntp.service %endif mkdir -p %{buildroot}%{_sysconfdir}/connman @@ -124,8 +122,6 @@ systemctl daemon-reload %if %{with connman_ntp} %dir /usr/lib/systemd/ntp-units.d %{_unitdir}/connman-ntp.service -%{_unitdir}/multi-user.target.wants/connman-ntp.service -%{_unitdir}/network.target.wants/connman-ntp.service /usr/lib/systemd/ntp-units.d/40-connman-ntp.list %endif |