diff options
author | Benjamin Smee <strerror@gentoo.org> | 2007-08-15 20:51:19 +0000 |
---|---|---|
committer | Benjamin Smee <strerror@gentoo.org> | 2007-08-15 20:51:19 +0000 |
commit | b7413e3523ce9e731eed06a3847fcf269ab3532a (patch) | |
tree | fd077322835d1ffb7a9d57ac3da334856d7047b5 /sys-fs/cryptsetup/files | |
parent | Stable on sparc wrt #188376 (diff) | |
download | gentoo-2-b7413e3523ce9e731eed06a3847fcf269ab3532a.tar.gz gentoo-2-b7413e3523ce9e731eed06a3847fcf269ab3532a.tar.bz2 gentoo-2-b7413e3523ce9e731eed06a3847fcf269ab3532a.zip |
Change to 1.0.5-dm-crypt-start.sh to fix misplaced bin
(Portage version: 2.1.3.3)
Diffstat (limited to 'sys-fs/cryptsetup/files')
-rw-r--r-- | sys-fs/cryptsetup/files/1.0.5-dm-crypt-start.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-fs/cryptsetup/files/1.0.5-dm-crypt-start.sh b/sys-fs/cryptsetup/files/1.0.5-dm-crypt-start.sh index f47a52301be3..4c09fb19a7cf 100644 --- a/sys-fs/cryptsetup/files/1.0.5-dm-crypt-start.sh +++ b/sys-fs/cryptsetup/files/1.0.5-dm-crypt-start.sh @@ -46,7 +46,7 @@ dm_crypt_execute_dmcrypt() { cryptsetup isLuks ${source} 2>/dev/null && { arg1="luksOpen"; arg2="$source"; arg3="$target"; luks=1; } - if /bin/cryptsetup status ${target} | egrep -q '\<active:' ; then + if /sbin/cryptsetup status ${target} | egrep -q '\<active:' ; then einfo "dm-crypt mapping ${target} is already configured" return fi @@ -176,7 +176,7 @@ dm_crypt_execute_localmount() { [ -z "$target" ] && [ -z "$post_mount" ] && return - if ! /bin/cryptsetup status ${target} | egrep -q '\<active:' ; then + if ! /sbin/cryptsetup status ${target} | egrep -q '\<active:' ; then ewarn "Skipping unmapped target ${target}" cryptfs_status=1 return @@ -198,7 +198,7 @@ dm_crypt_execute_localmount() { local cryptfs_status=0 local gpg_options key loop_file target targetline options pre_mount post_mount source swap remdev -if [[ -f /etc/conf.d/dmcrypt ]] && [[ -x /bin/cryptsetup ]] ; then +if [[ -f /etc/conf.d/dmcrypt ]] && [[ -x /sbin/cryptsetup ]] ; then ebegin "Setting up dm-crypt mappings" # Fix for baselayout-1.12.10 (bug 174256) |