Browse Source

Update MacInitial.sh

MoeClub 4 years ago
parent
commit
83a90075f5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      MacInitial.sh

+ 2 - 0
MacInitial.sh

@@ -4,6 +4,8 @@ if [ -f "/usr/bin/sudo" ]; then
   [ "$(sudo whoami)" == "root" ] || return
   [ "$(sudo whoami)" == "root" ] || return
   # System setting
   # System setting
   echo -e "\n# System setting ..."
   echo -e "\n# System setting ..."
+  sudo nvram StartupMute=%01
+  sudo nvram BootAudio=%00
   sudo nvram SystemAudioVolume=%80
   sudo nvram SystemAudioVolume=%80
   sudo defaults write com.apple.systempreferences AttentionPrefBundleIDs 0
   sudo defaults write com.apple.systempreferences AttentionPrefBundleIDs 0
   sudo defaults write com.apple.loginwindow TALLogoutSavesState -bool FALSE
   sudo defaults write com.apple.loginwindow TALLogoutSavesState -bool FALSE