User Tools

Site Tools


docs:tips_n_tricks:max_os_x:system.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
docs:tips_n_tricks:max_os_x:system.html [02.02.2011 12:59 CET] – created peterdocs:tips_n_tricks:max_os_x:system.html [14.05.2013 13:17 CEST] (current) peter
Line 8: Line 8:
  
 Thanks to [[http://www.macuser.de/forum/f21/bluetooth-deaktivieren-snow-476910/|Macuser.de]] Thanks to [[http://www.macuser.de/forum/f21/bluetooth-deaktivieren-snow-476910/|Macuser.de]]
 +
 +A simple script to aid in this situation:
 +
 +  #! /bin/sh
 +  
 +  case "$1" in 
 +  "start")
 +        launchctl load -w /System/Library/LaunchDaemons/com.apple.blued.plist
 +        ;;
 +  "stop")
 +        launchctl unload -w /System/Library/LaunchDaemons/com.apple.blued.plist
 +        ;;
 +  "restart"|"reload"|"relaunch")
 +        "$0" stop
 +        "$0" start
 +        ;;
 +  *)    echo ERROR >&2
 +        ;;
 +  esac
 +
 +{{tag>OSX Bluetooth}}
 +{{entry>OSX}}
 +{{entry>Bluetooth}}
 +===== DNS Cache =====
 +
 +To flush the DNS cache (OS X 10.5 and above):
 +
 +  dscacheutil -flushcache
 +
 +==== References ====
 +  * [[http://www.hongkiat.com/blog/how-to-clear-dns-cache-in-mac-osx-leopard/|How to Clear DNS Cache in Mac OSX Leopard]] by Hongkiat Lim
 +=====  =====
 +
 +{{tag>OSX DNS cache}}
 +{{entry>OSX}}
 +{{entry>DNS}}
 +{{entry>cache}}
 +
docs/tips_n_tricks/max_os_x/system.html.1296647963.txt.gz · Last modified: 02.02.2011 12:59 CET (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki