Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.
2376 1223 500
CDROM - Prepare, MTBF is coming!
pandora ~ # cat /usr/local/sbin/mwpcd-playback.sh

echo 0 > /proc/sys/dev/cdrom/autoclose
echo 1 > /proc/sys/dev/cdrom/autoeject

setopt -e -x

[ -e $DRIVE ]
[ -e $DEST ]
eject -t $DRIVE
sleep 12
mount $DRIVE
ID=$(< $1/mwpcd_id)
[ ! -e $DEST/$ID ]
echo reading $ID
rsync -av --progress $DRIVE/ $DEST/$ID
umount $DRIVE
echo finished $ID
pandora ~ # while zenity --question --text="Insert next CD?"; do
    time mwpcd-playback.sh /mnt/cdrom1 /home/images/mwpcd ; done
Tags: own linux
Reposted byjv6 jv6
No Soup for you

Don't be the product, buy the product!

YES, I want to SOUP ●UP for ...