On 9/6/06, Bob Doolittle <[EMAIL PROTECTED]> wrote:
ottomeister wrote:
> That's right.  A good method to use is to have the /etc/dt script source
> the /usr/dt script either before of after it does whatever extra it needs
> to do.  That way if the /usr/dt script gets modified by a patch or
> upgrade
> your /etc/dt script automatically gets those modifications.

*Except* that SRSS doesn't properly handle
the /etc/dt/config/{Xsetup/Xstartup/Xreset} files.  There is a CR
outstanding on this.  So by doing this copy you are effectively
short-circuiting the SRSS mechanisms for updating this file via
patches etc.

If /etc/dt/config/Xsetup sources /usr/dt/config/Xsetup, as in:

   % cat /etc/dt/config/Xsetup
   #! /bin/ksh -p
   ...
   if [[ -r /usr/dt/config/Xsetup ]] ; then
       .     /usr/dt/config/Xsetup
   fi
   ...

then it automatically gets any updates that are applied (by anyone,
including SRSS)  to the /usr/dt file.

You can't do this if the purpose of the /etc/dt/file is to deliberately omit
or exclude something that the /usr/dt/file does, but in this case we're
talking about doing some purely additional work, along the lines of:

   (umask 0700 && mkdir /tmp/.ICE-unix && chmod 1777 /tmp/.ICE-unix
&& touch /tmp/.ICE-unix/foo)

So where's the problem?

OttoM.
__
ottomeister

Disclaimer: These are my opinions.  I do not speak for my employer.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to