Solaris & vnc
Rodney Wines
Rodney.Wines "at" ahqps.alcatel.fr
Mon, 11 Sep 2000 16:58:58 +0000
> Presumable the directroy is created by X, so it is probably not so
> easy to find an adaquate place for a "patch" in the /etc/rc?.d
> scripts?
Don't hack the /etc/rc?.d scripts. Any hack will probably just get silently
overwritten when you upgrade or maybe when you apply Solaris patchesg, or
you might screw up a checksum somewhere so your patches WON'T get applied.
I don't know for sure.
In any event, it isn't necessary to hack existing scripts. Create your own
script in /etc/init.d, and add a link to it as S99scriptname in the
appropriate /etc/rc?.d directory. This'll make your script run at startup
after all the regular Solaris scripts have run. There's a README in
/etc/init.d that explains this in detail. Briefly:
Create a script named "/etc/init.d/pipemode" (or any other name of your
choice). This script should contain your "chmod" command. Then:
ln /etc/init.d/pipemode /etc/rc3.d/S99pipemode
That's all there is to it.
Rodney
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------