DHCP and client lease save

Discussion in 'Tomato Firmware' started by francesco_r, Feb 9, 2008.

  1. francesco_r

    francesco_r Network Guru Member

    It's possibile to save the client lease DB of Dnsmasq on a file in the /jffs partition or in the nvram, like DD-WRT does??

    Thank you
  2. francesco_r

    francesco_r Network Guru Member

    I have copied the existing file /tmp/var/lib/misc/dnsmasq.leases in the jffs partition and added this in the Init script:
    rm /tmp/var/lib/misc/dnsmasq.leases
    ln -s /jffs/dnsmasq.leases /tmp/var/lib/misc/
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice