Commit 6b1f7155 authored by David Mondou's avatar David Mondou
Browse files

Fix path to configure_gateway script

parent a54c3d25
{
"name": "IOT-Gateway-Setup",
"name": "iot-gateway-setup",
"version": "1.0.0",
"description": "Web-based administration portal for configuring the WiFi on the gateway",
"main": "server.js",
......
......@@ -29,7 +29,7 @@ var supportedExtensions = {
};
var PORT = 8000;
var STATE_DIR = '/var/lib/gateway_config_tools';
var BIN_DIR = '/home/root/gateway/bin';
var BIN_DIR = './bin';
var NETWORKS_FILE = STATE_DIR + '/networks.txt';
var COMMAND_OUTPUT = "";
var COMMAND_OUTPUT_MAX = 3072; // bytes
......@@ -45,7 +45,7 @@ var WHITELIST_PATHS = {
"/logo-rigado.png": true
};
var WHITELIST_EXEC = {
"/home/root/gateway/bin/configure_gateway": true,
"./bin/configure_gateway": true,
"sleep": true
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment