How to delete a line in nvram

Discussion in 'Tomato Firmware' started by LanceMoreland, Jul 28, 2010.

  1. LanceMoreland

    LanceMoreland Network Guru Member

    I committed a line of code via telnet to the nvram which contains an error. I would like to remove it without clearing the nvram and starting over. I tried backing up my cfg file and editing it but afterwards the router would not accept the altered file.

    I added "nvram set clockfreq=250" instead of "nvram set clkfreq=250" because of incorrect instructions which were given in another thread. My cfg file now contains both lines and is working correctly, I just would like to remove the erroneous line. I am looking for something like:

    nvram delete clockfreq=250
    nvram commit
     
  2. gtj0

    gtj0 Networkin' Nut Member

    Try "nvram unset clockfreq" then a commit.
     
  3. LanceMoreland

    LanceMoreland Network Guru Member

    That worked, Thanks Bud.
     
  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