blob: 5e4467ab8709d35bb60c499ce23f002286a5cfb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
|