On Sat, Mar 28, 2020 at 12:05:26PM +0100, Antoine Jacoutot wrote:
> > I went for adding:
> > 
> >     printf 'disable ulpt\nq\n' | config -ef /bsd && \
> >     sha256 -h /var/db/kernel.SHA256 /bsd
> > 
> > to /etc/rc.shutdown and /upgrade.site and that makes it work the way I
> > would like to.
> > 
> > Would that be worth adding to ports/print/cups/pkg/README-main?
> 
> No.
> That's very bad practice.

Oh. Which part is exactly bad practice?

Do you mean adding commands to /upgrade.site or to /etc/rc.shutdown or
both, or in general using config -ef /bsd to disable drivers?

Is there any info which can be added to cups/pkg/README-main to make the
process more automated for disabling ulpt in kernel which plays nice
with sysupgrade or syspatch?

-- 
Regards,
 Mikolaj

Reply via email to