From 547849360c8d04945a0ce058f7773c00da1c7bf3 Mon Sep 17 00:00:00 2001
From: Stephan Geisler
Date: Mon, 31 Dec 2018 17:34:09 +0000
Subject: [PATCH] =?UTF-8?q?=E2=80=9EBuild/edit.sh=E2=80=9C=20=C3=A4ndern?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Build/edit.sh | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/Build/edit.sh b/Build/edit.sh
index c38c250..b23ac3c 100644
--- a/Build/edit.sh
+++ b/Build/edit.sh
@@ -29,7 +29,8 @@ if [[ "$page" == "edit-save" ]]; then
"$set_var" "$dir/app/etc/Konfiguration.txt" "MessageTo" "$MessageTo"
"$set_var" "$dir/app/etc/Konfiguration.txt" "dsmbeepnotify" "$dsmbeepnotify"
"$set_var" "$dir/app/etc/Konfiguration.txt" "PBTOKEN" "$PBTOKEN"
- "$set_var" "$dir/app/etc/Konfiguration.txt" "LOGlevel" "$LOGlevel"
+ "$set_var" "$dir/app/etc/Konfiguration.txt" "LOGlevel" "$LOGlevel"LOGmax
+ "$set_var" "$dir/app/etc/Konfiguration.txt" "LOGmax" "$LOGmax"
"$set_var" "$dir/app/etc/Konfiguration.txt" "endgueltigloeschen" "$endgueltigloeschen"
"$set_var" "$dir/app/etc/Konfiguration.txt" "reindex" "$reindex"
"$set_var" "$dir/app/etc/Konfiguration.txt" "cutlistat_ID" "$cutlistat_ID"
@@ -89,6 +90,7 @@ if [[ "$page" == "edit-import-query" ]] || [[ "$page" == "edit-import" ]]; then
"$set_var" "$dir/app/etc/Konfiguration.txt" "dsmbeepnotify" "$dsmbeepnotify"
"$set_var" "$dir/app/etc/Konfiguration.txt" "PBTOKEN" "$PBTOKEN"
"$set_var" "$dir/app/etc/Konfiguration.txt" "LOGlevel" "$LOGlevel"
+ "$set_var" "$dir/app/etc/Konfiguration.txt" "LOGmax" "$LOGmax"
"$set_var" "$dir/app/etc/Konfiguration.txt" "endgueltigloeschen" "$endgueltigloeschen"
"$set_var" "$dir/app/etc/Konfiguration.txt" "reindex" "$reindex"
"$set_var" "$dir/app/etc/Konfiguration.txt" "cutlistat_ID" "$cutlistat_ID"
@@ -810,6 +812,22 @@ if [[ "$page" == "edit" ]]; then
0 => es wird keine Log-Datei erstellt
1 => normales Log (standard)
2 => erweitertes Log
Die Logs befinden sich im Dekodierverzeichnis/_LOGsynOTR/
'
+ # LOGmax
+ echo '
+
+ '
+ if [ -n "$LOGmax" ]; then
+ echo ''
+ else
+ echo ''
+ fi
+ echo '
+
+
+ LOG-Files können automatisch gelöscht werden, indem hier die maximal gewünschte Anzahl angegeben wird.
+
Sobald hier ein Wert vergeben wird, werden grundsätzlich alle leeren LOGs gelöscht.
+
(Die Anzahl bezieht sich also nur auf LOGs mit Einträgen)
+
'
# reindex
echo '