unifios-utilities
unifios-utilities copied to clipboard
[Feature Request] Uninstall script/documentation
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.
I would like to see this too! Much appreciated.
+1 from me.
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.)
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 ?
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
- Remove the
/mnt/data/on_boot.d/folder recursively.- Remove the
/mnt/data/on_boot.shfile.