Site Tools


static2json

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
static2json [2026/05/18 16:22] – -Clarity to make intro easier to understand, and formatting hogwildstatic2json [2026/07/27 16:00] (current) – -spelling hogwild
Line 1: Line 1:
-====== Convert DHCP Reservations extracted from NVRAM CFG file into a JSON file for the GUI ======+====== Export DHCP Reservations from an NVRAM cfg file into a JSON file for the web interface ======
  
-This Bash script allows you to extract DHCP Reservations from an older backup (before the backup feature in the web interface was introduced) and output a JSON file. The JSON file file can then be imported via FreshTomato's web interface.+This Bash script will extract DHCP Reservations from an older backup .cfg file and output them to a JSON file. The JSON file file can then be imported via FreshTomato'web interface. This can be useful when the router.cfg file from which you want to extract DHCP reservations didn't support the reservations backup feature in the web interface.
  
-This script must be executed from within a router's command-line interface or an SSH session.+ \\ 
 + 
 +The script must be executed from within a router's command-line interface or an SSH session. 
 + 
 + \\
  
 <code bash static2json.sh> <code bash static2json.sh>
Line 84: Line 88:
 exit 0 exit 0
 </code> </code>
 +
 + \\
 +
 + \\
 +
 + \\
  
  
static2json.1779117778.txt.gz · Last modified: by hogwild