Nvidia would like to be able to pass arguments to p4dstate.sh much like the SDP version of p4dstate.sh.
However, they do not have an SDP. Their need for this is driven by having multiple p4d instances on the same device. Thus, using environment variables, and hard-coding paths in multiple versions of the script would both require work on their side.
The request is about the following lines in the script:
p4d=/<absolute-path-to->/p4d
p4=/<absolute-path-to->/p4
P4ROOT=/<absolute-path-to-P4ROOT>
P4LOG=/<absolute-path-to->/log
P4JOURNAL=/<absolute-path-to->/journal
P4PORT=<p4d-listener>
P4USER=<perforce-superuser>