From 00456c67d7d73601bb25619a2f70a852974e0b7b Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Sun, 25 May 2025 10:39:21 +0200 Subject: [PATCH] change message open volume --- backupmount | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backupmount b/backupmount index de98418..7371da4 100755 --- a/backupmount +++ b/backupmount @@ -54,9 +54,7 @@ device_mount() [ -b "$device" ] \ || infolog "block device $device for $media not found" \ || return $? - infolog "media $media with device $device found" - local key=$(cat "config.yaml" \ | yq --raw-output ".media.\"$media\".key") [ "$key" != "null" ] \ @@ -68,8 +66,8 @@ device_mount() [ "$volume" != "null" ] \ || errlog "config.yaml volume for $media missing" \ || return $? - infolog "volume mount $volume" + infolog "volume open $volume" cryptsetup open --key-file "$key" \ "$device" \ "$volume" \ -- 2.39.5