must be root
Returns:
writes a 0 to the rom file, therby locking it
56 57 58
# File 'lib/compute_unit/device.rb', line 56 def lock_rom File.write(rom_path, '0') if File.exist?(rom_path) end