From 15deb620d084366ee51436aa97734a763f5f9e3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 18 Sep 2017 21:14:54 +0200 Subject: Some small changes in usbkey --- local/bin/usbkey | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'local/bin/usbkey') 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 -- cgit v1.2.3