Created
July 23, 2015 14:53
-
-
Save TomCan/7182edff81937687432f to your computer and use it in GitHub Desktop.
Restart Mac OS X smb service from terminal/cli
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
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.smbd.plist | |
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.smbd.plist | |
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist EnabledServices -array disk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simple, worked.
Thank you.