1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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
    Francesco
     
  2. francesco_r

    francesco_r Network Guru Member

    Solved.
    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/
     

Share This Page