Would it be an idea to add the option to LUCI to export/download data shown in tables to a CSV format type file.
For example the fixed IP addresses table used in DHCP.
not sure if (active) static leases are shown in /var/dhcp.leases, but if they are
cron sed -e "s/ /,/g" < /var/dhcp.leases > /var/dhcp.csv
softlink to the file from /www, it'll be DLable without logging in to LuCI.
1 Like
The dhcp.leases file does not contain all the static allocated/configured addresses.
Using your suggested method it would be better to write a script to extract that data from the /etc/config/dhcp file and use cron to trigger that action.
I would be a cleaner option to have luci doing in the way it generates a backup of all the config files .