summaryrefslogtreecommitdiff
path: root/packaging/menu-daemon.spec
diff options
context:
space:
mode:
authorvadthe.naik <vadthe.naik@samsung.com>2014-02-04 19:55:17 +0530
committervadthe.naik <vadthe.naik@samsung.com>2014-02-06 12:17:59 +0530
commit2c3072ed6d11d94ab32d05069dfc32edd00bbf9a (patch)
treea120e9e28b1fd53b5e015d2413a373ffbed295d2 /packaging/menu-daemon.spec
parenta02aea94f5ae4b087bf46e5d2f133d8f8c12065d (diff)
downloadmenu-daemon-2c3072ed6d11d94ab32d05069dfc32edd00bbf9a.tar.gz
menu-daemon-2c3072ed6d11d94ab32d05069dfc32edd00bbf9a.tar.bz2
menu-daemon-2c3072ed6d11d94ab32d05069dfc32edd00bbf9a.zip
Add multi-user support for Bug-Tizen:PTREL-227HEADtizen
Change-Id: I9485f95291c5fab5abd45b1b1ef5dc1371cf1eb0 Signed-off-by: vadthe.naik <vadthe.naik@samsung.com>
Diffstat (limited to 'packaging/menu-daemon.spec')
-rw-r--r--packaging/menu-daemon.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/menu-daemon.spec b/packaging/menu-daemon.spec
index 894eb78..8ef1b98 100644
--- a/packaging/menu-daemon.spec
+++ b/packaging/menu-daemon.spec
@@ -31,6 +31,7 @@ BuildRequires: edje-bin
BuildRequires: embryo-bin
BuildRequires: eet-bin
BuildRequires: gettext-tools
+Requires(post): tizen-platform-config
Requires(post): /usr/bin/vconftool
%description
@@ -52,8 +53,10 @@ chmod +x %{buildroot}/etc/init.d/menudaemon
chmod +x %{buildroot}/etc/init.d/menudaemon.fast
%post
+source /etc/tizen-platform.conf
+GID=$(getent group $TZ_SYS_USER_GROUP | cut -f 3 -d :)
vconftool set -t string memory/menuscreen/desktop "0" -i -f
-vconftool set -t int memory/idle-screen/is_idle_screen_launched "0" -i -u 5000 -f
+vconftool set -t int memory/idle-screen/is_idle_screen_launched "0" -i -g $GID -f
ln -sf /etc/init.d/menudaemon /etc/rc.d/rc3.d/S46menudaemon
ln -sf /etc/init.d/menudaemon.fast /etc/rc.d/rc4.d/S85menudaemon