Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
nc-info: speedup
  • Loading branch information
nachoparker committed Nov 5, 2018
1 parent 3cd1cd5 commit 089bebb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/ncp-diag
Expand Up @@ -87,7 +87,7 @@ CERTS="$( grep "SSLCertificateFile /etc/letsencrypt/live/" /etc/apache2/sites-av
[[ "$CERTS" == "" ]] && CERTS=none
echo "certificates|$CERTS"

RESOLV="$( ping -c 1 "$CERTS" 2>/dev/null | head -1 | grep -oP '\d{1,3}(.\d{1,3}){3}' )"
RESOLV="$( ping -c1 -w1 "$CERTS" 2>/dev/null | head -1 | grep -oP '\d{1,3}(.\d{1,3}){3}' )"
echo "NAT loopback|$( [[ "$RESOLV" == "$IP" ]] && echo yes || echo no )"

# Other
Expand Down
6 changes: 4 additions & 2 deletions changelog.md
@@ -1,7 +1,9 @@

[v0.66.0](https://github.com/nextcloud/nextcloudpi/commit/989bc39) (2018-11-04) add nc-hdd-monitor
[v0.66.1](https://github.com/nextcloud/nextcloudpi/commit/4189f1f) (2018-11-04) nc-info: speedup

[v0.65.0](https://github.com/nextcloud/nextcloudpi/commit/ab65f41) (2018-11-03) add nc-test-hdd
[v0.66.0](https://github.com/nextcloud/nextcloudpi/commit/c36e794) (2018-11-04) add nc-hdd-monitor

[v0.65.0 ](https://github.com/nextcloud/nextcloudpi/commit/ab65f41) (2018-11-03) add nc-test-hdd

[v0.64.12](https://github.com/nextcloud/nextcloudpi/commit/5e7f3da) (2018-11-03) docker: fix provisioning on a stopped the container

Expand Down

0 comments on commit 089bebb

Please sign in to comment.