|
|
|
@ -10,10 +10,10 @@ sudo -v
|
|
|
|
|
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
|
|
|
|
|
|
|
|
|
|
# Set computer name (as done via System Preferences → Sharing)
|
|
|
|
|
sudo scutil --set ComputerName "mausohr"
|
|
|
|
|
sudo scutil --set HostName "mausohr"
|
|
|
|
|
sudo scutil --set LocalHostName "mausohr"
|
|
|
|
|
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "mausohr"
|
|
|
|
|
sudo scutil --set ComputerName "hummel"
|
|
|
|
|
sudo scutil --set HostName "hummel"
|
|
|
|
|
sudo scutil --set LocalHostName "hummel"
|
|
|
|
|
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "hummel"
|
|
|
|
|
|
|
|
|
|
# Finder: show hidden files by default
|
|
|
|
|
defaults write com.apple.finder AppleShowAllFiles -bool true
|
|
|
|
|