tch-nginx-gui
tch-nginx-gui copied to clipboard
Feature Request: Uninstall Script (change GUI back to previous GUI)
Hi I was thinking if we could make a script that reverts all changes that the script did + undo what tar did to the filesystem without factory reset.
there should be something like that.... since the only thing that should be changed by a normal system are the config in /etc/config... the script removes everything from overlay except the config dir and restore the original web config... after that it does reboot the modem.
As well as the files in the temp folder And like files like transformer.db.
temp folder is resetted across reboot
trasformer.db gets recreated
Oh yeah you would not want to delete the passwd and shadow file as well. Edit: how about the cwmpd.db file and lasdb.db? Wow it also seems that the 9.1 release has more pre-release versions than the 9.0 release.
But then you would want to replace or remove the files that got replaced with ones from the GUI.tar.bz2 file or done by the /etc/init.d file. Like the /etc/config/web file Pretty much revert what the GUI.tar.bz2 and /etc/init.d/rootdevice files did. Edit: if you delete stuff in the /overlay/whatever bank is booted folder would it delete in the root of the filesystem as well?
Any Progress?