Add sudo to Bonjour commands
This commit is contained in:
parent
9fd19f700c
commit
cfc89bc114
@ -655,12 +655,12 @@ defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1
|
||||
|
||||
#### Disable Bonjour
|
||||
```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
|
||||
```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
|
||||
|
Loading…
Reference in New Issue
Block a user