aboutsummaryrefslogtreecommitdiffstats
path: root/.osx
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2014-03-06 15:33:24 +0100
committerMathias Bynens <mathias@qiwi.be>2014-03-06 15:33:24 +0100
commit92f4b42abaec348673f910fca2749aac76d640ed (patch)
treed22e4b6426a0a4b49b5165ca406076b67be1214b /.osx
parenta888a1953fe7d9ae938e0863dc82871ef3cdf05f (diff)
downloaddotfiles-92f4b42abaec348673f910fca2749aac76d640ed.tar.gz
dotfiles-92f4b42abaec348673f910fca2749aac76d640ed.tar.bz2
dotfiles-92f4b42abaec348673f910fca2749aac76d640ed.zip
.osx: Comment computer name settings
It’s good to have these commands here as a reference, but it’s annoying when running `.osx` on multiple computers in the same network.
Diffstat (limited to '.osx')
-rwxr-xr-x.osx8
1 files changed, 4 insertions, 4 deletions
diff --git a/.osx b/.osx
index 04d68cd..eb8d456 100755
--- a/.osx
+++ b/.osx
@@ -13,10 +13,10 @@ 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 "0x6D746873"
-sudo scutil --set HostName "0x6D746873"
-sudo scutil --set LocalHostName "0x6D746873"
-sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "0x6D746873"
+#sudo scutil --set ComputerName "0x6D746873"
+#sudo scutil --set HostName "0x6D746873"
+#sudo scutil --set LocalHostName "0x6D746873"
+#sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "0x6D746873"
# Set standby delay to 24 hours (default is 1 hour)
sudo pmset -a standbydelay 86400