This so simple bash script ejects the cdrom and immediately pulls it back repeatedly, till the script is manually stopped.

while [ 1 ]
eject -T /dev/cdrom
sleep 10
eject -T /dev/cdrom
sleep 10

check it out, it can even be used as a baby rocker!

One Thought on “Linux baby rocker

  1. Pingback: Wikipedia

Leave a Reply

Your email address will not be published. Required fields are marked *


Post Navigation