Created
September 19, 2014 12:09
-
-
Save pelmered/662a60749175dc4b24b1 to your computer and use it in GitHub Desktop.
Best shell script ever
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 | |
eject | |
eject -t | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make executable
sudo chmod +x party.sh
Run
./party.sh
Run on boot:
sudo mv party.sh /etc/init.d/
sudo update-rc.d party.sh defaults