From 90439649ab16711316416c413cdefbc843e2d040 Mon Sep 17 00:00:00 2001 From: Wouter R Date: Wed, 30 Oct 2013 20:20:29 +0100 Subject: [PATCH] Add symlink to sketch directory in www directory. Bump image version. Change sketch extension to svg. Default printer type to 'ultimaker'. --- Makefile | 1 + src/FIRMWARE-VERSION | 2 +- src/rest/api/api_sketch.lua | 2 +- src/script/wifibox.uci.config | 3 +++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a6ae43f..5cb4b83 100644 --- a/Makefile +++ b/Makefile @@ -116,6 +116,7 @@ endif ### create links elsewhere in the system (autowifi) $(LN) -s /$(TGT_LUA_DIR_SUFFIX)/script/d3dapi $(1)/www/cgi-bin + $(LN) -s /root/sketches $(1)/www/ endef define Package/wifibox/postinst diff --git a/src/FIRMWARE-VERSION b/src/FIRMWARE-VERSION index 85b7c69..c81aa44 100644 --- a/src/FIRMWARE-VERSION +++ b/src/FIRMWARE-VERSION @@ -1 +1 @@ -0.9.6 +0.9.7 diff --git a/src/rest/api/api_sketch.lua b/src/rest/api/api_sketch.lua index 9e25d00..19725cc 100644 --- a/src/rest/api/api_sketch.lua +++ b/src/rest/api/api_sketch.lua @@ -15,7 +15,7 @@ local M = { } local NUMBER_PAD_WIDTH = 5 -local SKETCH_FILE_EXTENSION = 'sketch' +local SKETCH_FILE_EXTENSION = 'svg' -- creates sketch directory, and sets response to error state on failure diff --git a/src/script/wifibox.uci.config b/src/script/wifibox.uci.config index 6e512c1..c1c4bab 100644 --- a/src/script/wifibox.uci.config +++ b/src/script/wifibox.uci.config @@ -1,3 +1,6 @@ config settings 'system' option logfile '/tmp/wifibox.log' option loglevel 'debug' + +config settings 'general' + option printer_type 'ultimaker'