Skip to content

Commit

Permalink
Add $ start-dnsmasq.
Browse files Browse the repository at this point in the history
  • Loading branch information
kud committed Mar 6, 2015
1 parent 32b1b64 commit 0a73342
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/kill-mdnsresponder
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /usr/bin/env zsh
source $MY/core/helper
echo_title "Killing in the name of..."
echo_title "Killing mdnsresponder..."
sudo -v
PID=$(sudo lsof -i :53 | grep _mdnsresponder | head -1 | sed 's/ */ /g' | cut -d' ' -f2)
sudo kill -9 $PID
6 changes: 6 additions & 0 deletions bin/start-dnsmasq
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#! /usr/bin/env zsh
source $MY/core/helper
sudo -v
kill-mdnsresponder
echo_title "Starting dnsmasq..."
sudo dnsmasq

0 comments on commit 0a73342

Please sign in to comment.