From cfc89bc114fc3f42bf497de48c59f2df0f13878a Mon Sep 17 00:00:00 2001 From: Marcel Bischoff Date: Sat, 24 Oct 2015 07:44:15 +0200 Subject: [PATCH] Add sudo to Bonjour commands --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5d559d4..7f5944c 100644 --- a/README.md +++ b/README.md @@ -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