From 74698042ba33a706ae33c2474b11447f4ad7b76d Mon Sep 17 00:00:00 2001 From: taradiddles Date: Wed, 4 Apr 2018 16:08:03 +0300 Subject: [PATCH] removed dangerous qvm-copy-to-dom0 script the script's instructions will be moved into a dedicated "copy files to dom0" page --- code/dom0/qvm-copy-to-dom0 | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 code/dom0/qvm-copy-to-dom0 diff --git a/code/dom0/qvm-copy-to-dom0 b/code/dom0/qvm-copy-to-dom0 deleted file mode 100644 index d4983d5..0000000 --- a/code/dom0/qvm-copy-to-dom0 +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# qvm-copy-to-dom0 -# Copy a file from an AppVM to dom0 -# qvm-copy-to-dom0 - -# command line parameters -AppVM=$1 # must be present -Source=$2 # must be present -Destination=$3 # optionally - -# if no Destination given on commandline use ~/QubesIncoming -if [ -z "$3" ];then mkdir -p ~/QubesIncoming && \ - Destination=~/QubesIncoming/$(basename $Source); fi - -# copy file from AppVM to dom0 -qvm-run --pass-io $AppVM "cat $Source" > $Destination