UNVR-NAS/tools/ubnt-mtd-lock
Chris Blake 58ce1fb99f fix: additional fixups for UNVR/UNVRPro
* Fixup fan control so it works on UNVR
* Add LED integration work for UNVR
* Rename our mtd-ro kernel module dir
* Fixup shortnames in ubnteeprom
2024-06-18 19:13:31 -05:00
..
Kbuild fix: additional fixups for UNVR/UNVRPro 2024-06-18 19:13:31 -05:00
README.md fix: additional fixups for UNVR/UNVRPro 2024-06-18 19:13:31 -05:00
ubnt-mtd-lock.c fix: additional fixups for UNVR/UNVRPro 2024-06-18 19:13:31 -05:00

ubnt-mtd-lock

A stupid basic kernel module to ensure we set /dev/mtd* as RO (fully) in our firmware. This is done to prevent users/bad actors from wiping your bootloader/Unifi EEPROM, which are required for your device to function!

Building

make -C ${kernel_source_dir} M=$PWD

License

This code is licensed under the GNU General Public License, version 2. A copy of said license can be found at https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html#SEC1