diff options
Diffstat (limited to 'packaging/menu-daemon.spec')
-rw-r--r-- | packaging/menu-daemon.spec | 5 |
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 |