Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
trayopen [2013/07/13 15:57]
beandog
trayopen [2013/08/01 00:34]
beandog
Line 50: Line 50:
 #!/bin/bash #!/bin/bash
 trayopen /dev/dvd trayopen /dev/dvd
-if [[ $-eq 0 ]]; then+if [[ $-eq 0 ]]; then
   echo "Open for business!"​   echo "Open for business!"​
-elif [[ $-eq 1 ]]; then+elif [[ $-eq 1 ]]; then
   echo "​Sorry,​ already occupied."​   echo "​Sorry,​ already occupied."​
 fi fi
 </​code>​ </​code>​

Navigation