mirror of
https://github.com/sunknudsen/privacy-guides.git
synced 2025-02-23 09:13:56 +00:00
Merge pull request #18 from jerik/master
Escaped $ and dry-principle on shell scripts in VeraCrypt guide
This commit is contained in:
commit
5a31e242b3
@ -230,7 +230,7 @@ if [ "\$(find "\$mount_point/Versioning" -type f -ctime +90)" != "" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
open /Volumes/Backup
|
||||
open "\$mount_point"
|
||||
|
||||
printf "Inspect backup and press enter"
|
||||
|
||||
@ -304,7 +304,7 @@ trap dismount ERR INT
|
||||
volume_path="$BACKUP_VOLUME_PATH"
|
||||
mount_point="/Volumes/Backup"
|
||||
|
||||
veracrypt --text --mount --mount-options "readonly" --pim "0" --keyfiles "" --protect-hidden "no" "$volume_path" "$mount_point"
|
||||
veracrypt --text --mount --mount-options "readonly" --pim "0" --keyfiles "" --protect-hidden "no" "\$volume_path" "\$mount_point"
|
||||
|
||||
open "\$mount_point"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user