mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-05 21:07:58 +00:00
Merge pull request #290 from parazyd/use-shred-instead-wipe-patch
use shred instead of wipe
This commit is contained in:
commit
9b1d1891cc
2
Makefile
2
Makefile
@ -9,7 +9,7 @@ all:
|
||||
@echo "To install it in /usr/local together with its manpage use 'make install'."
|
||||
@echo
|
||||
@echo "To run Tomb one needs to have some tools installed on the system:"
|
||||
@echo "Sudo, cryptsetup, pinentry and gnupg. Also wipe is recommended."
|
||||
@echo "Sudo, cryptsetup, pinentry and gnupg."
|
||||
@echo
|
||||
|
||||
install:
|
||||
|
4
tomb
4
tomb
@ -781,7 +781,7 @@ function _print() {
|
||||
|
||||
_list_optional_tools() {
|
||||
typeset -a _deps
|
||||
_deps=(gettext dcfldd wipe steghide)
|
||||
_deps=(gettext dcfldd shred steghide)
|
||||
_deps+=(resize2fs tomb-kdb-pbkdf2 qrencode swish-e unoconv lsof)
|
||||
for d in $_deps; do
|
||||
_print "`which $d`"
|
||||
@ -811,7 +811,7 @@ _ensure_dependencies() {
|
||||
command -v dcfldd 1>/dev/null 2>/dev/null && DD=(dcfldd statusinterval=1)
|
||||
|
||||
# Which wipe command to use
|
||||
command -v wipe 1>/dev/null 2>/dev/null && WIPE=(wipe -f -s)
|
||||
command -v shred 1>/dev/null 2>/dev/null && WIPE=(shred -f -u)
|
||||
|
||||
# Check for lsof for slamming tombs
|
||||
command -v lsof 1>/dev/null 2>/dev/null || LSOF=0
|
||||
|
Loading…
Reference in New Issue
Block a user