unifios-utilities icon indicating copy to clipboard operation
unifios-utilities copied to clipboard

[Feature Request] Uninstall script/documentation

Open bobbyrc opened this issue 3 years ago • 5 comments

Is your feature request related to a problem? Please describe. When installing custom code on devices like network appliances it's always nice to have a clean plan in the event you need to back out of the changes

Describe the solution you'd like Preferably a script that would remove any files from the UDM that the boot script installed, and possibly an option to clear out /mnt/data/on_boot.d. If not a script, at least some documentation in the README that describes where all the files are located so one can delete them manually.

bobbyrc avatar Aug 05 '22 01:08 bobbyrc

I would like to see this too! Much appreciated.

nulant avatar Aug 15 '22 21:08 nulant

+1 from me.

z400MB avatar Sep 14 '22 07:09 z400MB

There's a pretty detailed wiki page that explains how to uninstall these utilities and any related containers. It wouldn't be too hard to turn it into a script.

Start here: Uninstall UDM Utilities and Containers. It would be great if you could let us know if anything needs to be updated still--or go ahead and submit a PR with your edits. It has been more than a year since the last commit, so that is a decent possibility! (The title itself would be a good starting point.)

SamErde avatar Sep 14 '22 21:09 SamErde

Actually just went through it and I'm slighlty confused by this :

5. Remove the /mnt/data/on_boot.d folder and any scripts remaining in it.
6. Remove in /mnt/data/ the on_boot.sh script.

Is this an either-or situation, is this saying on_boot.sh could be either a directory or a script, but should be removed regardless ? I did step 5 then couldn't find the script, but re-reading it I guess that's expected.

And step 7 is a bit scary, but I guess that's normal :sweat_smile: Should step 8 be reboot ?

Ulrar avatar Feb 13 '23 12:02 Ulrar

Is this an either-or situation, is this saying on_boot.sh could be either a directory or a script, but should be removed regardless ? I did step 5 then couldn't find the script, but re-reading it I guess that's expected.

I interpret this as

  1. Remove the /mnt/data/on_boot.d/ folder recursively.
  2. Remove the /mnt/data/on_boot.sh file.

Soitora avatar Dec 12 '23 11:12 Soitora