the line 'var/lib/misc/dnsmasq.leases' needs to be added to the file
var/lib/lrpkg/dnsmasq.local in the dnsmasq.lrp package. You can do that
locally - untar dnsmasq.lrp into a temporary directory, edit the file & then
re-tar the directory contents to dnsmasq.lrp. When the configuration is
saved the script reads all the *.local files in /var/lib/lrpkg to tell it
what to save.

I have the same problem with ntpd.lrp. The distro version fails to save
/var/lib/ntp/ntp.drift. That is important so that the ntpd time offset error
converges quickly on reboot.

John

On 19/01/17 02:24, Mark Berndt wrote:
> When I reboot my leaf system, /var/lib/misc/dnsmasq.leases is lost.  
> 
> I added it to my local config so it is saved, but of course this only happens 
> when save the config.  
> 
> What is the best way to preserve this information between reboots?
> 
> I know I've got /etc/default/local.stop scripts, but how would I update the 
> local config only?
> 
> cheers
> 
> Marko 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ------------------------------------------------------------------------
> leaf-user mailing list: leaf-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to