sensor-framework - remove init scripts 72/11472/2 tizen
authorJacek Pielaszkiewicz <j.pielaszkie@samsung.com>
Tue, 25 Jun 2013 11:11:03 +0000 (13:11 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 29 Oct 2013 16:49:57 +0000 (17:49 +0100)
Conflicts:

sensor-framework.manifest

Change-Id: I5e0af0799fa74e671dd71177320b7d666484e806
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
CMakeLists.txt
packaging/sensor-framework.spec
sfsvc [deleted file]

index 3db477c..bcb22a5 100644 (file)
@@ -71,8 +71,6 @@ if("${PLATFORM_ARCH}" MATCHES "arch_sdk")
                DESTINATION etc)
 endif()
 
-install(PROGRAMS sfsvc DESTINATION /etc/rc.d/init.d)
-
 ####################### systemd files installation ############################
 INSTALL(FILES
     ${CMAKE_CURRENT_SOURCE_DIR}/systemd/sensor-framework.service
index edb2c4f..4e9787d 100644 (file)
@@ -54,12 +54,6 @@ mkdir -p %{buildroot}%{_libdir}/systemd/system/sockets.target.wants
 ln -s ../sensor-framework.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/sensor-framework.service
 ln -s ../sensor-framework.socket  %{buildroot}%{_libdir}/systemd/system/sockets.target.wants/sensor-framework.socket
 
-# FIXME: remove initscripts after we start using systemd
-mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d
-mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc4.d
-ln -s ../init.d/sfsvc %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S40sfsvc
-ln -s ../init.d/sfsvc %{buildroot}%{_sysconfdir}/rc.d/rc4.d/S40sfsvc
-
 %post 
 vconftool set -t int memory/private/sensor/10001 0 -i
 vconftool set -t int memory/private/sensor/10002 0 -i
@@ -92,9 +86,6 @@ systemctl daemon-reload
 
 %files
 %manifest sensor-framework.manifest
-%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/sfsvc
-%{_sysconfdir}/rc.d/rc3.d/S40sfsvc
-%{_sysconfdir}/rc.d/rc4.d/S40sfsvc
 %{_bindir}/sf_server
 %attr(0644,root,root)/usr/etc/sf_data_stream.conf
 %attr(0644,root,root)/usr/etc/sf_filter.conf
diff --git a/sfsvc b/sfsvc
deleted file mode 100755 (executable)
index 1af211b..0000000
--- a/sfsvc
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-echo "[rc3.d] sf-svc RC3 script"
-       
-if [ -x /usr/bin/sf_server ]; then
-       /usr/bin/sf_server -s /usr/etc/sf_sensor.conf -f /usr/etc/sf_filter.conf -p /usr/etc/sf_processor.conf -d /usr/etc/sf_data_stream.conf & 
-fi
-
-if [ -f /opt/etc/.hib_capturing ]; then
-#add waitting for widget-screen, request from booting-TF (for Normal Boot) )
-       echo "Fast boot"
-       else
-       echo "waitting for widget-screen about 17s"
-fi
-