summaryrefslogtreecommitdiff
path: root/packaging/wait-lock.service
diff options
context:
space:
mode:
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