Skip to content

Instantly share code, notes, and snippets.

@b23prodtm
Created October 23, 2018 13:47
Show Gist options
  • Save b23prodtm/00336cded8be46ed8148bac5a2637a69 to your computer and use it in GitHub Desktop.
Save b23prodtm/00336cded8be46ed8148bac5a2637a69 to your computer and use it in GitHub Desktop.
Wake Up DVD Drive Unsupported Mac
#!/bin/bash
# Sometimes optical disc cannot load with third-party optical drives.
# They may have fallen to sleep mode, ejected discs, etc.
# That can happen if an unsupported OSX version is installed on your Mac (10.13 on iMac 2009).
# This wakes up any optical drive installed on your Mac from the finder.
# INSTALL
# =======
# Save this script to a desktop file named WekeUpDVD and make it executable
# cd ~/Desktop && chmod a+x WakeUpDVD
# Double-click to run the script, a Terminal Window will open and close itself.
drutil info
drutil atip
exit | osascript -e 'tell application "Terminal" to quit'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment