[Casper] Issues with Time machine script.

John Wetter john_wetter at hopkins.k12.mn.us
Tue Jul 15 09:16:56 PDT 2008


I don't think it matters in this case, but you can shorten the script up even more to:
defaults write com.apple.timemachine DoNotOfferNewDisksForBackup -bool YES


On 7/15/08 9:03 AM, "Leacy, Miles" <Miles.Leacy at PoloRalphLauren.com> wrote:

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

--
John Wetter
Technology Support Administrator
Technology & Information Services
Hopkins Public Schools
952-988-5373
john_wetter at hopkins.k12.mn.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20080715/45cd75ac/attachment.htm 


More information about the Casper mailing list