|
@@ -7,7 +7,7 @@
|
7
|
7
|
[ ! -d /opt/pyHeatpump/ ] && echo "Missing /opt/pyheatpump/" && exit 1;
|
8
|
8
|
|
9
|
9
|
# Database initialization
|
10
|
|
-sqlite3 -init /opt/pyHeatpump/db/pyheatpump.sql /run/pyheatpump/pyheatpump.sqlite3 \
|
|
10
|
+sqlite3 -init /opt/pyHeatpump/db/pyheatpump.sql /run/pyheatpump/pyheatpump.sqlite3 .quit \
|
11
|
11
|
|| (echo "Failed to initialize database" && exit 1);
|
12
|
12
|
|
13
|
13
|
# Default configuration setup
|