diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-20 20:01:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-20 20:01:06 +0100 |
commit | f48011012cdabc60f67e96296bc600f2c3f20ce8 (patch) | |
tree | ddcf8dd8ff1fddbc5e1191d2a6cd0ec3a895dac3 /sys-fs/cryptsetup/files | |
parent | 40a480a83a10d1718e26a6f4fc54d271c1f13a95 (diff) |
gentoo auto-resync : 20:10:2022 - 20:01:06
Diffstat (limited to 'sys-fs/cryptsetup/files')
-rw-r--r-- | sys-fs/cryptsetup/files/2.4.3-dmcrypt.rc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-fs/cryptsetup/files/2.4.3-dmcrypt.rc b/sys-fs/cryptsetup/files/2.4.3-dmcrypt.rc index 0903ac5eabd0..3b3c57da1c00 100644 --- a/sys-fs/cryptsetup/files/2.4.3-dmcrypt.rc +++ b/sys-fs/cryptsetup/files/2.4.3-dmcrypt.rc @@ -109,7 +109,7 @@ dm_crypt_execute() { # ${target} is active: # Newer versions report: # ${target} is active[ and is in use.] - if cryptsetup ${header_opt} status ${target} | egrep -q ' is active' ; then + if cryptsetup ${header_opt} status ${target} | grep -E -q ' is active' ; then einfo "dm-crypt mapping ${target} is already configured" return fi @@ -329,7 +329,7 @@ stop() { # Break down all mappings print_header=true - egrep "^(target|swap)=" ${conf_file} | \ + grep -E "^(target|swap)=" ${conf_file} | \ while read line ; do ${print_header} && einfo "Removing dm-crypt mappings" print_header=false |