Skip to content

Instantly share code, notes, and snippets.

@czombos
czombos / advancedsettings.xml
Last active August 29, 2015 14:17
Kodi advanced settings
<advancedsettings>
<loglevel hide="false">0</loglevel>
<cputempcommand>sensors|sed -ne "s/Core 0: \+[-+]\([0-9]\+\).*/\1 C/p"</cputempcommand>
<network>
<buffermode>1</buffermode>
<cachemembuffersize>2684354560</cachemembuffersize>
<readbufferfactor>40</readbufferfactor>
</network>
<gui>
<algorithmdirtyregions>3</algorithmdirtyregions>
#!/usr/bin/env bash
# ~/.macos — https://mths.be/macos
# Close any open System Preferences panes, to prevent them from overriding
# settings we’re about to change
osascript -e 'tell application "System Preferences" to quit'
# Ask for the administrator password upfront
sudo -v

I have spent quite a bit of time figuring out automounts of NFS shares in OS X...

Somewhere along the line, Apple decided allowing mounts directly into /Volumes should not be possible:

/etc/auto_master (see last line):

#
# Automounter master map
#

+auto_master # Use directory service