darkmist icon

setup_dnsmasq.sh

darkmist | PRO | 12/31/16 05:46:03 PM UTC | 0 ⭐ | 185 πŸ‘οΈ | Never ⏰ | []
Bash |

360 B

|

None

|

0 πŸ‘

/

0 πŸ‘Ž

# Copy the default configuration file.
cp $(brew list dnsmasq | grep /dnsmasq.conf.example$) /usr/local/etc/dnsmasq.conf
# Copy the daemon configuration file into place.
sudo cp $(brew list dnsmasq | grep /homebrew.mxcl.dnsmasq.plist$) /Library/LaunchDaemons/
# Start Dnsmasq automatically.
sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist

Comments