Tech Dreams

Got An Old Linux Computer? Use it to Put Your Baby To Sleep

Ever thought of disposing your old Linux Computer? Don’t do that as labnol has got a smart suggestion that turns an old Linux computer into a baby rocker. First have a look at the embedded YouTube video to see how it’s possible and geeky details are below

The geek has used the CD Rom drive tray to rock the baby cradle with a simple program that ejects and closes in an infinite loop.

   while [1 = 1] do      

         #eject cdrom
         eject

         #pull cdrom tray back in      
         eject -t
  

   done

That’s awesome right? So Geeks do know to take care of kids :)