12 lines
300 B
JavaScript
Executable file
12 lines
300 B
JavaScript
Executable file
#!/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')
|
|
}
|