While trying to configure my Pi0 for read-only mode I deleted my /sys/bus/w1 folder. Now the 1wire bus is not working anymore. How can I reinstall the module?
Add the line
dtoverlay=w1-gpio to the file
/boot/config.txt and then reboot.
/boot/overlays/README for details.
It's working again!
I was following this guide (I know it's written in German but you get the point) and configured the /sys/bus folder as a temporary file system. I didn't know that the whole /sys folder already is a temporary folder managed by the kernel. After removing the entry and rebooting from /etc/fstab everything went back to normal.