Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2021-12-04 21:30:53 +0300
committerGitHub <noreply@github.com>2021-12-04 21:30:53 +0300
commit7e755f0709410f8a11a9bbd2aae8b664d2602624 (patch)
tree1f16f58bf97bb182022b410f88aa6e7a31349b2d /static/temporary-fix-begining.sh
parent18c3c9b318bb191d420408efe818460b42ff3915 (diff)
add temporary fix in two places (#2158)
* add temporary fix in two places * Rename temporary-fix.sh to temporary-fix-end.sh * add another temp fix * move back to startup script * run fresh script instead of using old one
Diffstat (limited to 'static/temporary-fix-begining.sh')
-rw-r--r--static/temporary-fix-begining.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/static/temporary-fix-begining.sh b/static/temporary-fix-begining.sh
new file mode 100644
index 00000000..faaa75db
--- /dev/null
+++ b/static/temporary-fix-begining.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
+
+true
+SCRIPT_NAME="Temporary Fix"
+# shellcheck source=lib.sh
+source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
+
+# Check for errors + debug code and abort if something isn't right
+# 1 = ON
+# 0 = OFF
+DEBUG=0
+debug_mode
+
+# Must be root
+root_check
+
+exit