From dbad1c226a3c192466e510e4ebd9866b67e19573 Mon Sep 17 00:00:00 2001 From: papoteur-mga Date: Sun, 15 Sep 2013 21:33:52 +0200 Subject: First commit --- isodumper | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 isodumper (limited to 'isodumper') diff --git a/isodumper b/isodumper new file mode 100755 index 0000000..5e4467a --- /dev/null +++ b/isodumper @@ -0,0 +1,16 @@ +#!/bin/sh +# +# Yes that script is horribly ugly and it would be nice if someone +# would implement the pkill pinging in the pythn script or even write +# a safe replacement for dd at all with proper progress reporting +# directly in the python script instead of that hack. + +set -e + +TERM=xterm + +DIR=/usr/lib/isodumper + +watch -n1 -- pkill -USR1 ^dd$ >/dev/null 2>&1 & +MYPID=$! +$DIR/isodumper.py && kill -9 $MYPID -- cgit v1.2.1