summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--packaging/sensor-framework.spec9
-rwxr-xr-xsfsvc15
3 files changed, 0 insertions, 26 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3db477c..bcb22a5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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
diff --git a/packaging/sensor-framework.spec b/packaging/sensor-framework.spec
index edb2c4f..4e9787d 100644
--- a/packaging/sensor-framework.spec
+++ b/packaging/sensor-framework.spec
@@ -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
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
-