Add Bonjour commands
This commit is contained in:
parent
a280ebe8ee
commit
563964363a
@ -90,6 +90,12 @@ afconvert input.mp3 ringtone.m4r -f m4af
|
|||||||
sudo dscachutil -flushcache && sudo killall -HUP mDNSResponder
|
sudo dscachutil -flushcache && sudo killall -HUP mDNSResponder
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Enable/disable Bonjour
|
||||||
|
```bash
|
||||||
|
defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder ProgramArguments -array-add "-NoMulticastAdvertisements"
|
||||||
|
defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder ProgramArguments -array "/usr/sbin/mDNSResponder" "-launchd"
|
||||||
|
```
|
||||||
|
|
||||||
### Renew DHCP lease
|
### Renew DHCP lease
|
||||||
```bash
|
```bash
|
||||||
sudo ipconfig set en0 DHCP
|
sudo ipconfig set en0 DHCP
|
||||||
|
Loading…
Reference in New Issue
Block a user