Created
February 9, 2019 14:56
-
-
Save H3wastooshort/03d7b8e2be9dd9176ed0a620c75de55b to your computer and use it in GitHub Desktop.
rips inserted cd's
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #/bin/bash | |
| while :; do | |
| if /usr/bin/trayopen /dev/sr0; then | |
| sleep 20 | |
| until abcde -c /home/hacker3000/.abcde.conf; do | |
| beep -l 10000 -f 100 | |
| done | |
| beep -f 1000 -n -f 1500 -n -f 600 -n -f 500 -n -f 100 -r 2 -l 10 -n -f 50 -r 2 -l 200 -n -f 40 -r 2 -l 300 -n -f 60 -r 3 -n -f 50 -r 3 | |
| until ! /usr/bin/trayopen /dev/sr0; do | |
| printf "close tray\n" | |
| done | |
| else | |
| printf "nope\n" | |
| fi | |
| sleep 5 | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment