diff options
-rw-r--r-- | bin/ncp/NETWORKING/nc-static-IP.sh | 6 | ||||
-rw-r--r-- | changelog.md | 20 |
2 files changed, 23 insertions, 3 deletions
diff --git a/bin/ncp/NETWORKING/nc-static-IP.sh b/bin/ncp/NETWORKING/nc-static-IP.sh index 3716c017..36c18412 100644 --- a/bin/ncp/NETWORKING/nc-static-IP.sh +++ b/bin/ncp/NETWORKING/nc-static-IP.sh @@ -61,7 +61,8 @@ iface $IFACE inet dhcp auto lo iface lo inet loopback EOF - systemctl restart NetworkManager + ifdown "${IFACE}" + ifup "${IFACE}" echo "DHCP enabled" return } @@ -83,8 +84,9 @@ iface $IFACE inet static gateway $GW dns-nameservers $DNS 8.8.8.8 EOF - systemctl restart networking pkill dhclient + ifdown "${IFACE}" + ifup "${IFACE}" } ncc config:system:set trusted_domains "${TRUSTED_DOMAINS[ip]}" --value="$IP" diff --git a/changelog.md b/changelog.md index 614bd667..50c44208 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,23 @@ -[v1.41.1](https://github.com/nextcloud/nextcloudpi/commit/2c4cb42) (2021-10-14) letsencrypt: take into account the possibility of the ncp-nextcloud folder being used +[v1.41.10](https://github.com/nextcloud/nextcloudpi/commit/042491f) (2021-10-18) nc-static-IP: use ifdown/ifup + +[v1.41.9 ](https://github.com/nextcloud/nextcloudpi/commit/f9c9e37) (2021-10-18) fail2ban: fix UFW jail + +[v1.41.8 ](https://github.com/nextcloud/nextcloudpi/commit/326de1d) (2021-10-15) fix dual IPv6 stack port checking + +[v1.41.7 ](https://github.com/nextcloud/nextcloudpi/commit/78a88eb) (2021-10-18) ncp-web: remove dir indicator on nc-backup + +[v1.41.6 ](https://github.com/nextcloud/nextcloudpi/commit/06ffb1e) (2021-10-18) nc-static-IP: make sure dhclient is no longer running + +[v1.41.5 ](https://github.com/nextcloud/nextcloudpi/commit/74ed53f) (2021-10-15) letsencrypt: hardcode cert name to avoid -0001 paths + +[v1.41.4 ](https://github.com/nextcloud/nextcloudpi/commit/0a866ca) (2021-10-15) save and restore maintenance mode status in ncp-apps + +[v1.41.3 ](https://github.com/nextcloud/nextcloudpi/commit/80575ae) (2021-10-15) ncp-update-nc: check skip major versions + +[v1.41.2 ](https://github.com/nextcloud/nextcloudpi/commit/cf4cfd8) (2021-10-15) also save hostname in trusted domains + +[v1.41.1](https://github.com/nextcloud/nextcloudpi/commit/c75db63) (2021-10-14) letsencrypt: take into account the possibility of the ncp-nextcloud folder being used [v1.41.0 ](https://github.com/nextcloud/nextcloudpi/commit/b41fad0) (2021-10-13) ncp-web: add NCP logs section |