summaryrefslogtreecommitdiff
path: root/packaging/wait-lock.service
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-02-01 13:05:40 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-02-01 13:05:40 +0900
commit8c00390de4f840509e6f3f16f9dc38ef5e9c35c1 (patch)
tree801af75bc2070e8ca1c85022ea247e7d2ab92fed /packaging/wait-lock.service
parent49b40a5d9545c0847889292acf5a8da545e970eb (diff)
downloadstarter-tizen_2.3.tar.gz
starter-tizen_2.3.tar.bz2
starter-tizen_2.3.zip
Diffstat (limited to 'packaging/wait-lock.service')
-rwxr-xr-xpackaging/wait-lock.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/packaging/wait-lock.service b/packaging/wait-lock.service
new file mode 100755
index 0000000..1147161
--- /dev/null
+++ b/packaging/wait-lock.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=wait lockscreen
+After=tizen-boot.target boot-animation.service
+Requires=tizen-boot.target
+Before=tizen-system.target
+ConditionPathExists=|/tmp/.passwordlock
+
+[Service]
+Type=oneshot
+ExecStart=/bin/sh -c 'while [ -e /tmp/.passwordlock ]; do sleep 0.5 ; done'
+TimeoutSec=7s
+
+[Install]
+WantedBy=tizen-system.target