After setting up my lamp I realized that I had left the built in LED permanently on. For a nightlamp, this is extremely annoying and given that taking it apart was going to be a hassle, I decided to do it for one last time and do it right.
The plan
The simplest way I could think of was to replace a file in the VFS of the sensors so that it gets reloaded on reboot.
For this, I needed to...