summaryrefslogtreecommitdiff
path: root/units/check-mount.service.m4
diff options
context:
space:
mode:
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