summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDariusz Michaluk <d.michaluk@samsung.com>2013-06-17 11:26:35 (GMT)
committerDariusz Michaluk <d.michaluk@samsung.com>2013-06-28 13:00:52 (GMT)
commitf9c2001ddd34c3b9673ec19a80e460f187f6daea (patch)
treecd3471cc8dce833c3b9e98571156f104d41dba01
parentceeff68d8d6ede5a0c928d265d731c3404a59df7 (diff)
downloadstarter-f9c2001ddd34c3b9673ec19a80e460f187f6daea.zip
starter-f9c2001ddd34c3b9673ec19a80e460f187f6daea.tar.gz
starter-f9c2001ddd34c3b9673ec19a80e460f187f6daea.tar.bz2
Remove init scripts
Change-Id: Ib29350584723d563ce7b3be487e615ab1b3647a3
-rwxr-xr-xCMakeLists.txt8
-rw-r--r--packaging/starter.spec6
-rwxr-xr-xrd3starter26
-rwxr-xr-xrd4starter14
-rwxr-xr-xstarter14
-rwxr-xr-xstarter.manifest2
6 files changed, 0 insertions, 70 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5ba6180..7d0cd55 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)
diff --git a/packaging/starter.spec b/packaging/starter.spec
index dc23fd9..d79bc9a 100644
--- a/packaging/starter.spec
+++ b/packaging/starter.spec
@@ -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
index 0304170..0000000
--- a/rd3starter
+++ /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
index e5a896c..0000000
--- a/rd4starter
+++ /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
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 &
-
diff --git a/starter.manifest b/starter.manifest
index 62d872a..c12fb88 100755
--- a/starter.manifest
+++ b/starter.manifest
@@ -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" />