summaryrefslogtreecommitdiff
path: root/units/check-mount.service.m4
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-10-24 15:27:53 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-10-24 15:27:53 +0900
commit4725260e575eec8371cc30afc93fbe09f855d85d (patch)
tree87c410179e6a4c3e06d31b31565f0d46215b6c79 /units/check-mount.service.m4
parentf66f61d6d5c9f9928f140ebfbda80284d1331529 (diff)
downloadsystem-plugin-common-accepted/tizen_2.4_mobile.tar.gz
system-plugin-common-accepted/tizen_2.4_mobile.tar.bz2
system-plugin-common-accepted/tizen_2.4_mobile.zip
Diffstat (limited to 'units/check-mount.service.m4')
-rw-r--r--units/check-mount.service.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/units/check-mount.service.m4 b/units/check-mount.service.m4
new file mode 100644
index 0000000..c8b8589
--- /dev/null
+++ b/units/check-mount.service.m4
@@ -0,0 +1,17 @@
+[Unit]
+Description=Check Mount
+ConditionPathIsMountPoint=!/opt/usr
+After=tizen-boot.target starter.service
+Requires=tizen-boot.target
+Before=tizen-system.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/check-mount.sh
+ExecStartPost=/bin/sleep 3
+m4_ifdef(`SMACK_LABEL',
+SmackProcessLabel=system-plugin-common::script
+)m4_dnl
+
+[Install]
+WantedBy=tizen-system.target