Remove init scripts
authorDariusz Michaluk <d.michaluk@samsung.com>
Mon, 17 Jun 2013 11:26:35 +0000 (13:26 +0200)
committerDariusz Michaluk <d.michaluk@samsung.com>
Fri, 28 Jun 2013 13:00:52 +0000 (15:00 +0200)
Change-Id: Ib29350584723d563ce7b3be487e615ab1b3647a3

CMakeLists.txt
packaging/starter.spec
rd3starter [deleted file]
rd4starter [deleted file]
starter [deleted file]
starter.manifest

index 5ba6180..7d0cd55 100755 (executable)
@@ -95,14 +95,6 @@ INSTALL(FILES ${CMAKE_SOURCE_DIR}/starter.rule DESTINATION /opt/etc/smack/access
 #CONFIGURE_FILE(${PROJECT_NAME}.desktop.in ${PROJECT_NAME}.desktop)
 #INSTALL(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.desktop DESTINATION share/applications)
 
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/rd4starter DESTINATION /etc/init.d
-               PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
-               GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/rd3starter DESTINATION /etc/init.d
-               PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
-               GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
-#INSTALL to /etc/init.d
-
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/systemd/starter.service DESTINATION /usr/lib/systemd/user)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/systemd/starter.socket DESTINATION /usr/lib/systemd/user)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/systemd/starter.path DESTINATION /usr/lib/systemd/user)
index dc23fd9..d79bc9a 100644 (file)
@@ -90,15 +90,9 @@ vconftool set -t int memory/idle-screen/is_idle_screen_launched "0" -i -u 5000 -
 vconftool set -t int memory/idle-screen/top "0" -i -f
 vconftool set -t int memory/idle-screen/safemode "0" -i -f
 
-ln -sf /etc/init.d/rd4starter /etc/rc.d/rc4.d/S81starter
-ln -sf /etc/init.d/rd3starter /etc/rc.d/rc3.d/S43starter
-
-
 %files
 %manifest starter.manifest
 %defattr(-,root,root,-)
-%{_sysconfdir}/init.d/rd4starter
-%{_sysconfdir}/init.d/rd3starter
 %{_bindir}/starter
 /usr/ug/lib/libug-lockscreen-options.so
 /usr/ug/lib/libug-lockscreen-options.so.0.1.0
diff --git a/rd3starter b/rd3starter
deleted file mode 100755 (executable)
index 0304170..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# commented and this was moved to isf-panel-efl code
-#while [ ! -f /tmp/.wm_ready ];
-#do
-#      sleep 0.1
-#done
-
-while [ ! -f /tmp/amd_ready ];
-do
-        sleep 0.1
-done
-
-vconf_set_safemode()
-{
-       if [ -f /opt/etc/.safemode ]
-       then
-               vconftool set -t int memory/idle-screen/safemode "1" -i -f
-       else
-               vconftool set -t int memory/idle-screen/safemode "0" -i -f
-       fi
-}
-vconf_set_safemode
-
-echo -e "<2>[${_G}menu-daemon start${C_}]" > /dev/kmsg
-/usr/bin/starter &
diff --git a/rd4starter b/rd4starter
deleted file mode 100755 (executable)
index e5a896c..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-vconf_set_safemode()
-{
-       if [ -f /opt/etc/.safemode ]
-       then
-               vconftool set -t int memory/idle-screen/safemode "1" -i -f
-       else
-               vconftool set -t int memory/idle-screen/safemode "0" -i -f
-       fi
-}
-vconf_set_safemode
-
-echo -e "<2>[${_G}menu-daemon start${C_}]" > /dev/kmsg
-/usr/bin/starter &
diff --git a/starter b/starter
deleted file mode 100755 (executable)
index b5c0fa6..0000000
--- a/starter
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-CURRENT_RUNLEVEL=`basename $PWD`
-# CURRENT_RUNLEVEL could be "rc3.d" or "rc4.d"
-
-if [ x"$CURRENT_RUNLEVEL" == x"rc3.d" ]; then
-       while [ ! -f /tmp/.wm_ready ];
-       do
-               sleep 0.1
-       done
-fi
-
-/usr/bin/starter &
-
index 62d872a..c12fb88 100755 (executable)
@@ -7,8 +7,6 @@
        </request>
        <assign>
                <filesystem path="/usr/bin/starter" label="starter" exec_label="starter" />
-               <filesystem path="/etc/init.d/rd3starter" label="_" exec_label="none" />
-               <filesystem path="/etc/init.d/rd4starter" label="_" exec_label="none" />
                <filesystem path="/usr/lib/systemd/user/starter.path" label="_" exec_label="none" />
                <filesystem path="/usr/lib/systemd/user/starter.service" label="_" exec_label="none" />
                <filesystem path="/usr/lib/systemd/user/starter.socket" label="_" exec_label="none" />