aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dd.sh
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2015-02-22 14:16:15 +0100
committerPapoteur <papoteur@mageialinux-online.org>2015-02-22 14:16:15 +0100
commit3d3ff2fe523adffa7480222ecf2c78e2ba0b9331 (patch)
treecdc0668c44278a0f71f9fc071f54f75e173a1abe /tools/dd.sh
parentb04ce5a0cc9c4c762c6447552e781fcd6e4b41ac (diff)
downloadusbdumper-3d3ff2fe523adffa7480222ecf2c78e2ba0b9331.tar
usbdumper-3d3ff2fe523adffa7480222ecf2c78e2ba0b9331.tar.gz
usbdumper-3d3ff2fe523adffa7480222ecf2c78e2ba0b9331.tar.bz2
usbdumper-3d3ff2fe523adffa7480222ecf2c78e2ba0b9331.tar.xz
usbdumper-3d3ff2fe523adffa7480222ecf2c78e2ba0b9331.zip
New writing method replacing dd.exe under Windows.
Diffstat (limited to 'tools/dd.sh')
-rwxr-xr-xtools/dd.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/tools/dd.sh b/tools/dd.sh
deleted file mode 100755
index f698a36..0000000
--- a/tools/dd.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-if [ $# -ne 2 ]
-then
- exit 1
-fi
-
-/bin/dd if=$1 of=$2 bs=8M &
-pid=$!
-
-echo "DDPID=$pid"
-
-while true;
-do
- sleep 5
- kill -USR1 $pid 1>/dev/null 2>&1
- if [ $? -ne 0 ]
- then
- exit 0
- fi
-done
-
-sync