It will clear something but not everything so beware of bug 7432 - /opt and /home/user not cleared after firmware reflash After reflashing and before installing anything else it might be useful to do cleanup in /opt at least. Otherwise you will have some dead weight there which will be hard to find later.