Managed to fix it I dumped rootfs and optfs to my memorycard, removed every single file I had added in past few days from dumps which would be executed on startup and finally restored the dumps.