[PATCH] base-files: sysupgrade: store status of system-services

Sven Roederer devel-sven at geroedel.de
Sun Jan 10 16:40:22 EST 2021


Am Sonntag, 10. Januar 2021, 09:47:27 CET schrieb Andre Heider:
> > Same. I would personally like this as default sysupgrade procedure, as
> > that's what makes most sense imho.
> > If I have disabled a service it makes sense that after a firmware
> > upgrade it remains disabled.
> 
> Seconded.
> 
> Use case: Two identical routers for which I build a single image
> including all the packages I required. One has a workround to disable
> dnsmasq in rc.local, because it's always enabled after a sysupgrade and
> acts as a additional interfering dhcp server (I can probably configure
> it otherwise, but I don't require that instance at all).

That's quite the situation we have here with our common images. Users during 
initial setup getting some services disabled based on their choices. As the 
services shall remain inside the image (reconfiguration) the services-state 
should be kept.

Sven





More information about the openwrt-devel mailing list