Updated the flush DNS command for Yosemite. discoveryutil is no longer available.
This commit is contained in:
parent
db869fed03
commit
4249556b1d
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue