Add sudo to Bonjour commands

This commit is contained in:
Marcel Bischoff 2015-10-24 07:44:15 +02:00
parent 9fd19f700c
commit cfc89bc114

View File

@ -655,12 +655,12 @@ defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1
#### Disable Bonjour #### Disable Bonjour
```bash ```bash
defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder ProgramArguments -array-add "-NoMulticastAdvertisements" sudo defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder ProgramArguments -array-add "-NoMulticastAdvertisements"
``` ```
#### Enable Bonjour #### Enable Bonjour
```bash ```bash
defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder ProgramArguments -array "/usr/sbin/mDNSResponder" "-launchd" sudo defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder ProgramArguments -array "/usr/sbin/mDNSResponder" "-launchd"
``` ```
### DHCP ### DHCP