Showing posts with label mac. Show all posts
Showing posts with label mac. Show all posts

Wednesday, 18 April 2012

OSX - Get iChat to automatically log back in

Put a small apple script into your crontab which will look in the System Events log and tell iChat to login if it sees the disconnect event in there.

In a terminal:

crontab -e

*/5 * * * * osascript -e 'tell application "System Events" to if (processes whose name is "iChat") exists then tell application "iChat" to log in'

Saturday, 3 December 2011

OSX: enable nfs

Turn off automount
add AUTOMOUNT=-NO- to /etc/hostconfig

create mount point in fs
sudo mkdir /mnt/raid

add mount command to /etc/fstab
nas:/mnt/raid /mnt/raid nfs noauto,rw,async


restart