[oe] All the syslogs

Martin Jansa martin.jansa at gmail.com
Fri May 7 14:52:17 UTC 2010


On Fri, May 07, 2010 at 04:04:37PM +0200, Steffen Sledz wrote:
> >> Would be a
> >>
> >>     touch {sysconfdir}/init.d/syslog
> > 
> > :) also option, but u-a should at least show warning that link file is
> > not and link and in worse scenario refuse to replace non-link file with
> > link to alternative (IIRC the case for u-a-cworth and his variant
> > included in opkg).
> > 
> > What I had in mind was adding:
> > update-rc.d $OPT ${INITSCRIPT_NAME} ${INITSCRIPT_PARAMS}
> > after u-a call in postinst and similar
> > update-rc.d $OPT ${INITSCRIPT_NAME} remove
> > in postrm, etc.
> 
> I would prefer my method because the update-rc.d class does
> a bit more than just calling update-rc.d (e.g. stop running
> services). And i thing it's not a good idea to duplicate the
> whole code.

I don't like duplicate code too, but maybe you don't need to restart
syslog? And your version doesn't work for u-a from opkg and u-a-cworth
as described in reply to that patch.

> Regards,

Regards,

> Steffen

-- 
uin:136542059                jid:Martin.Jansa at gmail.com
Jansa Martin                 sip:jamasip at voip.wengo.fr 
JaMa                         




More information about the Openembedded-devel mailing list