You are not logged in.

Announcement

[2017.09.08] DeployStudio build v1.7.8 (checksum, release note).
[2016.08.26] DeployStudio build v1.6.19 (release note).
[2013.02.23] DeployStudio last universal build v1.5.17 (release note).

#1 2013-06-19 15:08:43

triti
Member
Registered: 2009-05-14

Request: Export Custom Properties in postponed scripts

It would be nice if custom properties were exported along with all of the other "DS_foo" environment variables in the ds_0001.sh scripts that set up the postponed execution of generic script tasks.

Offline

#2 2013-06-19 20:46:04

Meat
Member
From: SF CA US
Registered: 2009-02-04

Re: Request: Export Custom Properties in postponed scripts

What would be the driving need for this?
Example?

Offline

#3 2013-06-19 22:07:28

triti
Member
Registered: 2009-05-14

Re: Request: Export Custom Properties in postponed scripts

I'm working on a script that attempts to set the default user shell using dsconfigad on AD-bound Macs. You can pass either the desired shell as a parameter or the name of an environment variable, such as a Custom Property, and it will set the shell to the referenced value.

https://gist.github.com/fizzboy/5817833

Because it uses dsconfigad, it must run postponed but if it runs postponed, I cannot access the Custom Properties.

Offline

Board footer

Powered by FluxBB