Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dhcpstaticlist.sh default location #5

Open
ColinTaylorUK opened this issue May 21, 2019 · 5 comments
Open

dhcpstaticlist.sh default location #5

ColinTaylorUK opened this issue May 21, 2019 · 5 comments

Comments

@ColinTaylorUK
Copy link

ColinTaylorUK commented May 21, 2019

The default location for saving the DHCP list is in /opt/tmp which presumes that Entware has already been installed. This dependency is unnecessary IMHO and is likely not to be the case when restoring the entries immediately after a flashing a new firmware or performing a factory reset.

Might I suggest the default location is changed to /jffs.

diff.txt

@ColinTaylorUK
Copy link
Author

I do realise that if the user re-formats the jffs partition this information would be lost.

@asaddon
Copy link

asaddon commented May 30, 2019

I second that suggestion as well, I just used this on a non Entware router and I met with the same restriction, though I make it work by manually editing the file path in the script.
Why not give user an option to chose between /jffs or /opt or both.

@Xentrk
Copy link
Owner

Xentrk commented Jun 30, 2019

Thank you for the suggestion. I'll make the update to give the user the option.

The reason I selected /opt is as ColinTaylorUK mentioned. The /jffs is prone to getting wiped during a factory reset. Hopefully the user remembers to backup jffs partition!

Hoping someone will start maintaining the nvram backup and restore utility again.

@Morphy99
Copy link

I've just backed up my list to /opt/tmp and then factory reset and firmware updated and it seems the /opt/tmp folder has been wiped! Is this normal?? My external drive was attached during reset and everything else on it has remained intact afaik

@Morphy99
Copy link

So I managed to restore everything as I took a config and jffs backup prior to doing the factory reset. It seems when entware is installed through amtm it wipes the /opt/tmp folder. So maybe backing up the file somewhere else is needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants