On Mon, Jun 16, 2008 at 09:23:21PM +0100, Ceri Davies wrote:
> > /path/to/mything/rc-script $*
> > EOF
> > chmod +x /etc/init.d/mything
> > ln -s ../init.d/mything /etc/rc3.d/S99mything
> > ln -s ../init.d/mything /etc/rcS.d/K00mything
> > 
> > ... but there are probably better ports that can be done.  I don't
> > think I agree that rewriting the legacy support for rc scripts is a
> > necessary or desirable component of that.  It's not clear that it'd
> > even work right, as it obviously assumes that all of the bits install
> > the same way on Solaris as on these other systems (the paths are the
> > same), and may well make many other assumptions.
> 
> Not given "even if all that you need to do is rewire the rc script".
> You're flapping between extremes.

I think there's a reasonable RFE here for lsvcrun to support scripts
that aren't /bin/sh scripts.  It should help you (and others, not least
the third parties providing these scripts) in porting these startup
scripts.

Reply via email to