[oe] All the syslogs
Steffen Sledz
sledz at dresearch.de
Fri May 7 14:04:37 UTC 2010
>> 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.
Regards,
Steffen
More information about the Openembedded-devel
mailing list