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

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2021-10-23 03:02:49 +0300
committernachoparker <nacho@ownyourbits.com>2021-10-28 00:46:13 +0300
commit7b73d1db5f0f4d2fcb4ba0957d6ac69954cfe35d (patch)
tree708b7d359755237c8ec26edc63d6a1a42aae4bd4 /bin/nextcloud-domain.sh
parent532a6a8bb6e994d3277b0d9a776df5d978ff1b6c (diff)
add nc-encryptv1.43.0
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin/nextcloud-domain.sh')
-rw-r--r--bin/nextcloud-domain.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/nextcloud-domain.sh b/bin/nextcloud-domain.sh
index 8d511160..ff50c1b5 100644
--- a/bin/nextcloud-domain.sh
+++ b/bin/nextcloud-domain.sh
@@ -2,6 +2,12 @@
source /usr/local/etc/library.sh
+# wait until user decrypts the instance first
+while :; do
+ needs_decrypt || break
+ sleep 1
+done
+
# wicd service finishes before completing DHCP
while :; do
local_ip="$(get_ip)"