summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-Jin Park <sj76.park@samsung.com>2013-04-13 06:22:38 -0400
committerBoram Park <boram1288.park@samsung.com>2013-09-02 17:05:04 +0900
commit734b79c72650611c9708e11d0dbb98c695298c37 (patch)
treecb6bae6010eef365c7ef7587f7b4a6bd8917bb8c
parenta3d2a97e76c397267feeb56a135ccbf1be10ece5 (diff)
downloadxf86-misc-exynos4412-734b79c72650611c9708e11d0dbb98c695298c37.tar.gz
xf86-misc-exynos4412-734b79c72650611c9708e11d0dbb98c695298c37.tar.bz2
xf86-misc-exynos4412-734b79c72650611c9708e11d0dbb98c695298c37.zip
Modify command lines for executing enlightenment with app user/group
Change-Id: I35e8b3fdcd395181d95f14d7731643912f7e0868
-rwxr-xr-xarm-common/xinitrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/arm-common/xinitrc b/arm-common/xinitrc
index 3f9ce40..58b7924 100755
--- a/arm-common/xinitrc
+++ b/arm-common/xinitrc
@@ -19,5 +19,9 @@ if [ ! -d ${HOME}/.e ]; then
chown -R app:app ${HOME}/.e
fi
-su -c "HOME=/opt/home/app /usr/bin/enlightenment_start -profile samsung -i-really-know-what-i-am-doing-and-accept-full-responsibility-for-it &" -l app
+E17_USER=`id -u app`
+E17_GROUP=`id -g app`
+
+HOME=/opt/home/app USER=app /usr/bin/enlightenment_start -profile samsung -i-really-know-what-i-am-doing-and-accept-full-responsibility-for-it -user ${E17_USER} -group ${E17_GROUP} &
+#su -c "HOME=/opt/home/app /usr/bin/enlightenment_start -profile samsung -i-really-know-what-i-am-doing-and-accept-full-responsibility-for-it &" -l app