Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
MoeClub authored Jun 27, 2020
1 parent c677521 commit 2c1bc89
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions MacInitial.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ if [ -f "/usr/bin/sudo" ]; then
#Unload System Daemons
echo "Unload System Daemons ..."
[ "$(sudo whoami)" == "root" ] || return
# System setting
sudo defaults write com.apple.loginwindow TALLogoutSavesState -bool FALSE
sudo defaults write com.apple.loginwindow SHOWOTHERUSERS_MANAGED -bool FALSE

cd "/Volumes/$(ls -1 /Volumes|head -n1)/System/Library/LaunchDaemons"

Expand Down Expand Up @@ -146,3 +149,6 @@ RMAPP "Podcasts.app"
RMAPP "Stocks.app"
RMAPP "Music.app"




0 comments on commit 2c1bc89

Please sign in to comment.