tch-nginx-gui icon indicating copy to clipboard operation
tch-nginx-gui copied to clipboard

Feature Request: Uninstall Script (change GUI back to previous GUI)

Open nutterthanos opened this issue 6 years ago • 6 comments
trafficstars

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.

nutterthanos avatar Jun 30 '19 11:06 nutterthanos

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.

Ansuel avatar Jun 30 '19 11:06 Ansuel

As well as the files in the temp folder And like files like transformer.db.

nutterthanos avatar Jun 30 '19 11:06 nutterthanos

temp folder is resetted across reboot

trasformer.db gets recreated

Ansuel avatar Jun 30 '19 11:06 Ansuel

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.

nutterthanos avatar Jun 30 '19 11:06 nutterthanos

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?

nutterthanos avatar Jul 02 '19 01:07 nutterthanos

Any Progress?

nutterthanos avatar Mar 12 '20 07:03 nutterthanos