darkmist

setup_dnsmasq.sh

Dec 31st, 2016
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.36 KB | None | 0 0
  1. # Copy the default configuration file.
  2. cp $(brew list dnsmasq | grep /dnsmasq.conf.example$) /usr/local/etc/dnsmasq.conf
  3. # Copy the daemon configuration file into place.
  4. sudo cp $(brew list dnsmasq | grep /homebrew.mxcl.dnsmasq.plist$) /Library/LaunchDaemons/
  5. # Start Dnsmasq automatically.
  6. sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
Advertisement
Add Comment
Please, Sign In to add comment