Home Forums Software InstaDMG Time Zone

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #375541
    daveweale
    Participant

    Hi

    I’m trying to put the finishing touches to my post install script and am having issues setting the nearest city

    Using the following:
    sudo defaults write /Library/Preferences/.GlobalPreferences com.apple.TimeZonePref.Last_Selected_City -array 55.950001 -3.216667 11 Europe/London GB Edinburgh Scotland Edinburgh Scotland

    The command above writes to global preferences, but the system does not pick up the change.
    On reboot the .GlobalPreferences.plist is set back to it previous state
    Are the City settings stored elsewhere ?

    I need to set the city as we have had issues with some Adobe Software that would not work when Cardiff (the default city for systemsetup -settimezone Europe/London) is selected.

    Thanks

    #375550
    Patrick Fergus
    Participant

    If you’re using a postflight script in CustomPKG, you’re going to need to tell defaults to write to the package’s target disk instead of the boot disk:[code]sudo defaults write “$3″/Library/Preferences/etc/etc/etc[/code]- Patrick

    #375569
    knowmad
    Participant

    and also note this thread, it might be useful:
    [url]https://www.afp548.com/forum/viewtopic.php?forum=45&showtopic=21477&highlight=time%20zone[/url]

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed