[Casper] Issues with Time machine script.

Eric Young eyoung at thayer.org
Tue Jul 15 06:37:02 PDT 2008


First off, hello all.  Casper n00b here.


I have a script that is supposed to set a defaults write for that  
annoying time machine message whenever you plug in a drive.  it does  
not seem to be working for me when it is deployed with an image.  does  
it have to go as a separate login/logout policy instead?  Find the  
text of the script below.



#!/bin/sh

/usr/bin/defaults write /Network/Servers/student.thayer.org/Volumes/ 
STUHOMEDIR/STUDENTHOME/$3/Library/Preferences/com.apple.TimeMachine  
DoNotOfferNewDisksForBackup -bool yes

/usr/bin/defaults write /Network/Servers/faculty.thayer.org/Volumes/ 
FACHOMEDIR/FACULTYHOME/$3/Library/Preferences/com.apple.TimeMachine  
DoNotOfferNewDisksForBackup -bool yes

/usr/bin/defaults write /Users/$3/Library/Preferences/ 
com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool yes




--------------------------------------------------------------------------------------------
I must not fear. Fear is the mind-killer.
Fear is the little-death that brings total obliteration.
I will face my fear. I will permit it to pass over me and through me.
And when it has gone past I will turn the inner eye to see its path.
Where the fear has gone there will be nothing.
Only I will remain.
--Bene Gesserit Litany (Frank Herbert)
--------------------------------------------------------------------------
Eric Young
eyoung at thayer.rog



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20080715/f43bd049/attachment.htm 


More information about the Casper mailing list