X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/07b20692dcdd8c69f7ee1e074a24deefee010d89..6902250a188de0d54be60ac9f2d7075c37176b01:/user/bksum?ds=sidebyside diff --git a/user/bksum b/user/bksum index cb99cad..9597c82 100755 --- a/user/bksum +++ b/user/bksum @@ -5,7 +5,7 @@ # arg(s): file paths (IFS delimited) # Output: file containing sha256 hashes and file paths # Depends: bash v5.1.16, date (GNU Coreutils 8.32), gpg v2.2.27, ots v0.7.0 -# Version: 0.1.0 +# Version: 0.1.1 declare -Ag appRollCall # Associative array for storing app status declare -Ag fileRollCall # Associative array for storing file status @@ -494,7 +494,7 @@ main() { elif [[ $opTsWait == "true" ]]; then yell "NOTICE:Waiting for calendar server response in background. (This may take 8 to 24 hours)..."; yell "ADVICE:Do not close or suspend this terminal."; - try ots --wait s "$pathSumOut" & + try ots --wait s "$pathSumOut" 1>/dev/random 2>&1 & fi; fi; ## Timestamp checksum signature file. @@ -505,7 +505,7 @@ main() { elif [[ $opTsWait == "true" ]]; then yell "NOTICE:Waiting for calendar server response in background. (This may take 8 to 24 hours)..."; yell "ADVICE:Do not close or suspend this terminal."; - try ots --wait s "$pathSigOut" & + try ots --wait s "$pathSigOut" 1>/dev/random 2>&1 & fi; fi;