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