This is the script I wrote to make an automated POC baby-sitter in 5 lines.
I first found this on a GIF or meme site and thought of making a POC script that does the same.
#How Linux users babysit
while :
do
eject
eject -t
done
I don't know aything about bash. So, I want improvements.
You can find the origin and the script at https://linuxandstuff.wordpress.com/2015/11/21/messing-with-the-dvd-drive-in-command-line/