mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Aug. 26 2006,02:31 |
|
Just throwing this out....no idea if it would work.....
while true do mount /mnt/sda1 2>/dev null && \ xmms /mnt/sda1/ && \ umount /mnt/sda1 && \ sleep 10 done
I assume this would try to mount sda1 and play the music. When it's done playing it will umount, wait 10 seconds, and then repeat. If it doesn't succeed it will continue to try until you kill the process.
...or so i assume =o)
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|