diff options
author | Karel Kočí <cynerd@email.cz> | 2017-09-18 21:14:54 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-09-18 21:14:54 +0200 |
commit | 15deb620d084366ee51436aa97734a763f5f9e3b (patch) | |
tree | ad989bc46933818872bca93e8130ab001b81f8e5 | |
parent | 85c603b086490d5a2f78661bc1e167b11a6ea41f (diff) | |
download | myconfigs-15deb620d084366ee51436aa97734a763f5f9e3b.tar.gz myconfigs-15deb620d084366ee51436aa97734a763f5f9e3b.tar.bz2 myconfigs-15deb620d084366ee51436aa97734a763f5f9e3b.zip |
Some small changes in usbkey
-rwxr-xr-x | local/bin/usbkey | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/local/bin/usbkey b/local/bin/usbkey index 658fd98..3fe7336 100755 --- a/local/bin/usbkey +++ b/local/bin/usbkey @@ -2,7 +2,7 @@ set -e UUID_KKEY="7930cd94-b56e-4395-8859-f34da77f29be" -UUID_WKEY="" +UUID_WKEY="9fcaf42a-86d5-4e70-828d-fd90aad2d964" CRYPT_NAME="usbkey" MOUNT_PATH="/media/usbkey" @@ -56,7 +56,7 @@ check_mount() { op_sync() { local DOUNMOUNT=false - if [ -e "/dev/disk/by-uuid/$UUID_WKEY" ]; then + if [ ! -e "/dev/disk/by-uuid/$UUID_WKEY" ]; then echo "USB backup key seems to not be inserted. Please do so." >&2 exit 1 fi |