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
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
%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
+++ /dev/null
-#!/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
-