summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorwchang kim <wchang.kim@samsung.com>2016-08-16 11:32:41 +0900
committerwchang kim <wchang.kim@samsung.com>2016-08-16 11:32:41 +0900
commit5f46e4e2b2d70b0ff2959f6cea9722210875b6d6 (patch)
treeec44684c8dc72df37c1d0d85d66175fd3f361700 /units
parent4d47f99b2e37f14b324d7e46826a765f0360fe54 (diff)
downloadsystem-plugin-5f46e4e2b2d70b0ff2959f6cea9722210875b6d6.tar.gz
system-plugin-5f46e4e2b2d70b0ff2959f6cea9722210875b6d6.tar.bz2
system-plugin-5f46e4e2b2d70b0ff2959f6cea9722210875b6d6.zip
Description : Change the mount method in service file.
Adding mount-user.sh. mount-user.sh gets the PARTLABEL from /dev/disk/by-partlabel for user and mount it. Change-Id: Ib08023dc41a2268cef8751281c6e113eaf067204
Diffstat (limited to 'units')
-rw-r--r--units/lazy_mount.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/lazy_mount.service b/units/lazy_mount.service
index 91b3308..6102f05 100644
--- a/units/lazy_mount.service
+++ b/units/lazy_mount.service
@@ -6,6 +6,6 @@ ConditionPathIsMountPoint = !/opt/usr
Type=oneshot
SmackProcessLabel=System
ExecStartPre=/usr/bin/rm -f /run/.unlock_mnt /tmp/.lazy_mount
-ExecStart=/usr/bin/mount -L user /opt/usr
+ExecStart=/usr/bin/mount-user.sh
ExecStartPost=/usr/bin/touch /run/.unlock_mnt
SuccessExitStatus=0