Created
September 28, 2012 05:06
-
-
Save carlosmcevilly/3798024 to your computer and use it in GitHub Desktop.
eliminate the Mac power-on sound
This file contains 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
Install these scripts to eliminate the Mac boot sound. | |
These are tested on systems up to Snow Leopard. Not yet | |
tested on Lion or Mountain Lion. | |
How to use this: | |
1. save mute-on.sh, mute-off.sh, and install-boot-muter.sh | |
2. move the first two into your ~/Library/Scripts directory | |
sudo mv mute-{on,off}.sh ~/Library/Scripts/ | |
(You should get prompted for your password. If you | |
aren't an administrator on the computer, you'll get | |
prompted for an administrator's userid and password.) | |
3. make the two mute scripts executable: | |
sudo chmod +x Library/Scripts/mute-{on,off}.sh | |
4. Make install-boot-muter.sh executable: | |
sudo chmod +x install-boot-muter.sh | |
5. Run the installer: | |
./install-boot-muter.sh | |
6. reboot to see if it worked. | |
This file contains 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 | |
cd | |
export myhomepath=`pwd` | |
sudo defaults write com.apple.loginwindow LoginHook $myhomepath/Library/Scripts/mute-off.sh | |
sudo defaults write com.apple.loginwindow LogoutHook $myhomepath/Library/Scripts/mute-on.sh | |
This file contains 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 | |
osascript -e 'set volume without output muted' |
This file contains 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 | |
osascript -e 'set volume with output muted' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment