3
# Yes that script is horribly ugly and it would be nice if someone
4
# would implement the pkill pinging in the pythn script or even write
5
# a safe replacement for dd at all with proper progress reporting
6
# directly in the python script instead of that hack.
12
DIR=/usr/lib/imagewriter
14
watch -n1 -- pkill -USR1 ^dd$ >/dev/null 2>&1 &
16
$DIR/imagewriter.py && kill -9 $MYPID