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

Both sides previous revisionPrevious revision
Next revision
Previous revision
docs:tips_n_tricks:max_os_x:system.html [22.12.2012 12:03 CET] – [Bluetooth] 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}} {{tag>OSX Bluetooth}}
 {{entry>OSX}} {{entry>OSX}}
 {{entry>Bluetooth}} {{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.1356174200.txt.gz · Last modified: 22.12.2012 12:03 CET by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki