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:
authorBrooks <603632+bmbeverst@users.noreply.github.com>2020-08-27 03:16:11 +0300
committernachoparker <nacho@ownyourbits.com>2020-08-29 18:27:39 +0300
commit27b0c6b7b9a59927e2ff7c2d9dfbd3c02a669f5d (patch)
treed833ef726285bb1709f5ee2a15218e26c0629f29
parent3cf269a305082fde9989df6c485132a2d5bb98e1 (diff)
Restricting gateway to one line in static-IP scriptv1.29.1
Signed-off-by: Brooks <603632+bmbeverst@users.noreply.github.com>
-rw-r--r--bin/ncp/NETWORKING/nc-static-IP.sh2
-rw-r--r--changelog.md12
2 files changed, 10 insertions, 4 deletions
diff --git a/bin/ncp/NETWORKING/nc-static-IP.sh b/bin/ncp/NETWORKING/nc-static-IP.sh
index 0a25d7f4..8f408788 100644
--- a/bin/ncp/NETWORKING/nc-static-IP.sh
+++ b/bin/ncp/NETWORKING/nc-static-IP.sh
@@ -12,7 +12,7 @@
configure()
{
- local GW="$( ip r | grep "default via" | awk '{ print $3 }' )"
+ local GW="$( ip r | grep "default via" | awk '{ print $3 }' | head -1 )"
local DNS="$( grep nameserver /etc/resolv.conf | head -1 | awk '{ print $2 }' )"
[[ "$DNS" == "" ]] && DNS="$GW"
local IFACE="$( ip r | grep "default via" | awk '{ print $5 }' | head -1 )"
diff --git a/changelog.md b/changelog.md
index 170a374a..2c11be81 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,9 +1,15 @@
-[v1.28.3](https://github.com/nextcloud/nextcloudpi/commit/cb25e3f) (2020-08-02) ncp-autoupdate-apps: dont fail cron if no updates
+[v1.29.1](https://github.com/nextcloud/nextcloudpi/commit/9475096) (2020-08-26) Restricting gateway to one line in static-IP script
-[v1.28.2](https://github.com/nextcloud/nextcloudpi/commit/06017a4) (2020-08-02) nc-limits: adjust db size
+[v1.29.0](https://github.com/nextcloud/nextcloudpi/commit/3cf269a) (2020-08-28) upgrade to NC19.0.2
-[v1.28.1](https://github.com/nextcloud/nextcloudpi/commit/dda010b) (2020-08-02) nc-ramlogs: pin version
+[v1.28.4 ](https://github.com/nextcloud/nextcloudpi/commit/4c5b207) (2020-08-02) ncp-backup-auto: fix exit status for cron
+
+[v1.28.3 ](https://github.com/nextcloud/nextcloudpi/commit/81fcd14) (2020-08-02) ncp-autoupdate-apps: dont fail cron if no updates
+
+[v1.28.2 ](https://github.com/nextcloud/nextcloudpi/commit/06017a4) (2020-08-02) nc-limits: adjust db size
+
+[v1.28.1 ](https://github.com/nextcloud/nextcloudpi/commit/dda010b) (2020-08-02) nc-ramlogs: pin version
[v1.28.0 ](https://github.com/nextcloud/nextcloudpi/commit/99cfe9b) (2020-07-23) upgrade to NC18.0.7