blob: 3faf0d7cc0e8834d94c66bf73fed53ee4d0f792e [file] [log] [blame]
#!/bin/bash
# get config path for camera
config_path=$(cros_config /camera/config-file system-path)
ln -s "$config_path" /run/camera/camera_config_path
# update eeprom to /run/camera/EEPROM/
eeprom_updater
chmod 644 /run/camera/EEPROM/main_sensor_eeprom
chmod 644 /run/camera/EEPROM/sub_sensor_eeprom