From a611965667c44f5db923a48d26e824d094e1a664 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <cynerd@email.cz>
Date: Mon, 24 Aug 2015 14:39:16 +0200
Subject: Add boot timeout

Boot process should timeout after selected number of seconds if no
output is generated. This allows resolving some problems with possible
boot stuck.
---
 scripts/databaseinit.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'scripts/databaseinit.sql')

diff --git a/scripts/databaseinit.sql b/scripts/databaseinit.sql
index 0ca9b5a..c74640c 100644
--- a/scripts/databaseinit.sql
+++ b/scripts/databaseinit.sql
@@ -29,6 +29,7 @@ CREATE TABLE measure (
 	conf BIGINT REFERENCES configurations (id), -- Reference to configuration
 	measurement TEXT NOT NULL, -- Text identifivator of measuring tool
 	output TEXT NOT NULL, -- Output of boot
+	result TEXT NOT NULL, -- Result of boot script, if exited normally
 	value DOUBLE PRECISION DEFAULT null, -- Measured data value
 	mtime timestamp NOT NULL, -- Time and date of measurement
 	linuxgit BIGINT REFERENCES linuxgit (id), -- Reference to git version of Linux
-- 
cgit v1.2.3

