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:
authoraaaskew <aaaskew@yahoo.com>2020-07-07 10:14:01 +0300
committerGitHub <noreply@github.com>2020-07-07 10:14:01 +0300
commitcecad410de605f01422e63a4c8b4d96a0ce0b0aa (patch)
tree5cdd6ab0b07755925c3f8923336e6bad516caaba /static/test_connection.sh
parent7a69f992d38799c906725d602207b691a2a8f4ad (diff)
Nextcloud docker (Collabora) DNS does not resolve (nextcloud#1213) (#1306)
Signed-off-by: aaaskew <aaaskew@yahoo.com> Co-authored-by: Daniel Hansson <github@hanssonit.se>
Diffstat (limited to 'static/test_connection.sh')
-rw-r--r--static/test_connection.sh35
1 files changed, 0 insertions, 35 deletions
diff --git a/static/test_connection.sh b/static/test_connection.sh
deleted file mode 100644
index dbb590d9..00000000
--- a/static/test_connection.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-# shellcheck disable=2034,2059
-true
-# shellcheck source=lib.sh
-. <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
-
-# T&M Hansson IT AB © - 2020, https://www.hanssonit.se/
-
-# Check for errors + debug code and abort if something isn't right
-# 1 = ON
-# 0 = OFF
-DEBUG=0
-debug_mode
-
-curl_to_dir() {
- check_command curl -sSL "$1"/"$2" -o "$3"/"$2"
-}
-
-# Colors
-Color_Off='\e[0m'
-IRed='\e[0;91m'
-IGreen='\e[0;92m'
-ICyan='\e[0;96m'
-
-print_text_in_color() {
- printf "%b%s%b\n" "$1" "$2" "$Color_Off"
-}
-
-curl_to_dir google.com google.connectiontest /tmp
-if [ ! -s /tmp/google.connectiontest ]
-then
- print_text_in_color "$IRed" "Not connected!"
-else
- print_text_in_color "$IGreen" "Connected!"
-fi