diff options
author | David Runge <dave@sleepmap.de> | 2017-01-27 23:53:06 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2017-01-27 23:53:06 +0100 |
commit | 08d0a95fc6873253c50bf28a01acb8be840b8631 (patch) | |
tree | f30cbc63ddc1cca2f0d7967dc80dcc9036b8da1f /bin/cs | |
parent | 343bbeb31b44c64fc55b6b373b851658541aea15 (diff) | |
download | dotfiles-08d0a95fc6873253c50bf28a01acb8be840b8631.tar.gz dotfiles-08d0a95fc6873253c50bf28a01acb8be840b8631.tar.bz2 dotfiles-08d0a95fc6873253c50bf28a01acb8be840b8631.tar.xz dotfiles-08d0a95fc6873253c50bf28a01acb8be840b8631.zip |
bin/cs: Adding two new backup drives.
Diffstat (limited to 'bin/cs')
-rwxr-xr-x | bin/cs | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -8,6 +8,8 @@ photos="/dev/disk/by-uuid/b3c5a842-474b-4c2f-a246-abebe1da3450" backup="/dev/disk/by-uuid/e003337a-33e9-4691-bc57-e77243e55de5" video="/dev/disk/by-uuid/5ac700be-e168-495b-b133-42064fa101e4" media="/dev/disk/by-uuid/e5adbc14-732e-43e8-b6e1-febdfe6d1d3c" +mediabackup="/dev/disk/by-uuid/4467b7af-ab65-4fb7-9798-00d0ee9b4002" +videobackup="/dev/disk/by-uuid/80d50a4c-a04e-432e-8265-9a11a4386612" function open_cryptdevice() { @@ -64,9 +66,15 @@ case $1 in "video") open_cryptdevice $video $2 ;; + "videobackup") + open_cryptdevice $videobackup $2 + ;; "media") open_cryptdevice $media $2 ;; + "mediabackup") + open_cryptdevice $mediabackup $2 + ;; esac mount_cryptdevice $2 ;; |