-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #150 from Olf0/sfos220qcrypto+
Commits for v1.4.3
- Loading branch information
Showing
6 changed files
with
516 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
Description=Mount LUKS encrypted SD-card (%I) with udisks | ||
Documentation=https://github.com/Olf0/crypto-sdcard | ||
After=udisks2.service cryptosd-luks@%i.service dev-mapper-%i.device start-user-session.service | ||
BindsTo=dev-mapper-%i.device cryptosd-luks@%i.service | ||
Requires=udisks2.service | ||
Requisite=dev-mapper-%i.device | ||
Requires=udisks2.service cryptosd-luks@%i.service | ||
# Allow for rescue.target and conflict with umount.target (see | ||
# man 7 systemd.special; needed explicitly for the new ExecStopPost | ||
# statement as this a mounting unit, though not a mount unit): | ||
|
@@ -12,7 +12,7 @@ Conflicts=umount.target actdead.target factory-test.target | |
# is started (and even more importantly that it is shut down, *after* | ||
# alien-service-manager is shut down), to allow for e.g. (and more), | ||
# android_storage on encrypted SD-card: | ||
Before=alien-service-manager.service | ||
Before=alien-service-manager.service umount.target | ||
|
||
[Service] | ||
User=nemo | ||
|
@@ -22,5 +22,5 @@ EnvironmentFile=-/var/lib/environment/udisks2/%[email protected] | |
EnvironmentFile=-/var/lib/environment/udisks2/%p@%I.conf | ||
ExecStart=/usr/bin/udisksctl mount $UDISKS2_MOUNT_OPTIONS -b /dev/mapper/%I | ||
ExecStop=/usr/bin/udisksctl unmount -b /dev/mapper/%I | ||
ExecStopPost=/bin/umount -vrq /dev/%I | ||
ExecStopPost=/bin/umount -vrq /dev/mapper/%I | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
Description=Mount "plain" encrypted SD-card (%I) with udisks | ||
Documentation=https://github.com/Olf0/crypto-sdcard | ||
After=udisks2.service cryptosd-plain@%i.service dev-mapper-%i.device start-user-session.service | ||
BindsTo=dev-mapper-%i.device cryptosd-plain@%i.service | ||
Requires=udisks2.service | ||
Requisite=dev-mapper-%i.device | ||
Requires=udisks2.service cryptosd-plain@%i.service | ||
# Allow for rescue.target and conflict with umount.target (see | ||
# man 7 systemd.special; needed explicitly for the new ExecStopPost | ||
# statement as this a mounting unit, though not a mount unit): | ||
|
@@ -12,7 +12,7 @@ Conflicts=umount.target actdead.target factory-test.target | |
# is started (and even more importantly that it is shut down, *after* | ||
# alien-service-manager is shut down), to allow for e.g. (and more), | ||
# android_storage on encrypted SD-card: | ||
Before=alien-service-manager.service | ||
Before=alien-service-manager.service umount.target | ||
|
||
[Service] | ||
User=nemo | ||
|
@@ -22,5 +22,5 @@ EnvironmentFile=-/var/lib/environment/udisks2/%[email protected] | |
EnvironmentFile=-/var/lib/environment/udisks2/%p@%I.conf | ||
ExecStart=/usr/bin/udisksctl mount $UDISKS2_MOUNT_OPTIONS -b /dev/mapper/%I | ||
ExecStop=/usr/bin/udisksctl unmount -b /dev/mapper/%I | ||
ExecStopPost=/bin/umount -vrq /dev/%I | ||
ExecStopPost=/bin/umount -vrq /dev/mapper/%I | ||
|