-
-
Save k1b1c0/1b35e30ad0e06aa949102f007be0647a to your computer and use it in GitHub Desktop.
Restart Mac OS X smb service from terminal/cli
This file contains hidden or 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