X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=btrbk-run;h=cce2abeae6364e10e194a1788a196049ff4d708e;hb=c00afb64faf2a6f25c59a72c0e801f079ea746aa;hp=2eb53c1e25700c6b7dad52e02a9eaf1bcdab2d2b;hpb=63e3670ab59869f5f74904edbe64daa943fad15f;p=distro-setup diff --git a/btrbk-run b/btrbk-run index 2eb53c1..cce2abe 100644 --- a/btrbk-run +++ b/btrbk-run @@ -269,7 +269,9 @@ if [[ ! -v targets && ! $source ]]; then targets+=(x3wg.b8.nz) fi fi - for h in frodo kd; do + # temporarily disabled while doing recovery +# for h in frodo kd; do + for h in kd; do if [[ $HOSTNAME == "$h" ]]; then continue fi @@ -659,7 +661,9 @@ done if [[ $source ]]; then m mount-latest-subvol "${subvols[@]}" else - m /a/exe/mount-latest-remote ${targets[@]} + for tg in ${targets[@]}; do + m /a/exe/mount-latest-remote "$tg" "${subvols[@]}" || ret=$? + done fi if [[ $ret == 0 ]]; then