[Casper] Issues with Time machine script.

Leacy, Miles Miles.Leacy at PoloRalphLauren.com
Tue Jul 15 07:03:01 PDT 2008


Two tips:

1. Make sure that in your configuration, this script is set to run ³At
reboot² rather than ³before² or ³after².  If you run the script ³after²,
you¹re running it on the utility drive you're booted to during the imaging
process.  ³At reboot² will add your script to the Casper first run script
which will be executed the first time you boot the newly imaged system.
2. You can simplify your script to:
defaults write /Library/Preferences/com.apple.TimeMachine
DoNotOfferNewDisksForBackup -bool YES

This will put the setting in the /Library folder, which is applied to all
users.

Hope this helps.

On 7/15/08 9:37 AM, "Eric Young" <eyoung at thayer.org> wrote:

> 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
> 
> 
>  
> 
> 
> 
> _______________________________________________
> Casper mailing list
> Casper at list.jamfsoftware.com
> http://list.jamfsoftware.com/mailman/listinfo/casper
> 
> -- 
> Miles Leacy
> Senior Mac Technologist
> ACTC|ACSA|ACT|CCA
> Polo Ralph Lauren
> 212-318-7603
> miles.leacy at poloralphlauren.com
> 
> 







This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. If you have received this communication in error, please immediately notify the sender and delete the message from your system.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20080715/e4584498/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5731 bytes
Desc: not available
Url : http://list.jamfsoftware.com/pipermail/casper/attachments/20080715/e4584498/attachment-0001.png 


More information about the Casper mailing list