Seriously? You just hosed /opt?
Once you have done the reflash, if you have any problems afterwards there's a section in the wiki that that advises fiashing the rootfs first and then the EMMC followed by the rootfs again. Don't usr the -R switch at the end of the command on the first 2 flashes. It may also be a good idea to NOT restore a full backup in case you restore some corrupted settings. Just restore communication and contact settings