Updated the flush DNS command for Yosemite. discoveryutil is no longer available.

This commit is contained in:
Scott Wallace 2015-09-03 18:49:54 +01:00
parent db869fed03
commit 4249556b1d

View file

@ -12,7 +12,7 @@ function sorry()
case ${OS} in
Darwin) case ${REL} in
14.*) sudo discoveryutil udnsflushcaches
14.*) sudo dscacheutil -flushcache
;;
13.*) sudo pkill mDNS
;;