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-30 17:35:08 +0300
commit76ffaec83ca72dd270b9e37d22fde1e2b17ddc25 (patch)
treefe8981515279a5ecb9f073c806587a41db0baecf
parent3cf269a305082fde9989df6c485132a2d5bb98e1 (diff)
nc-static-IP: Restricting gateway to onev1.29.3
Signed-off-by: Brooks <603632+bmbeverst@users.noreply.github.com> Signed-off-by: nachoparker <nacho@ownyourbits.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..3820ce2b 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.3](https://github.com/nextcloud/nextcloudpi/commit/e0370bb) (2020-08-26) nc-static-IP: Restricting gateway to one
-[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