#!/usr/bin/env node

'use strict'

const fs = require('fs')
const options = require('../lib/options-loader')()

if (!options.opts.frontCameraDir) {
  options.opts.frontCameraDir = '/opt/lamassu-server/frontcamera'

  fs.writeFileSync(options.path, JSON.stringify(options.opts, null, '\t'), 'utf8')
}
