Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
dvd_drive_status [2014/02/16 20:59] beandog |
dvd_drive_status [2014/02/16 20:59] beandog |
||
---|---|---|---|
Line 71: | Line 71: | ||
If you just want to see if the **tray is closed and has media**, that would be exit code 4. | If you just want to see if the **tray is closed and has media**, that would be exit code 4. | ||
+ | |||
+ | === Sample Script === | ||
Here's a really simple shell script that you could use to wait until the device is ready to access: | Here's a really simple shell script that you could use to wait until the device is ready to access: |