Skip to content

Instantly share code, notes, and snippets.

@whytheplatypus
Last active April 2, 2023 21:10
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whytheplatypus/4692693 to your computer and use it in GitHub Desktop.
Save whytheplatypus/4692693 to your computer and use it in GitHub Desktop.
Quickly enable mdns on a smartos machine.
#!/bin/bash
mv /etc/nsswitch.conf /etc/nsswitch.conf_old
cp /etc/nsswitch.dns /etc/nsswitch.conf
svcadm enable multicast
svcs multicast
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment