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:
Diffstat (limited to 'bin/ncp/NETWORKING/nc-static-IP.sh')
-rw-r--r--bin/ncp/NETWORKING/nc-static-IP.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ncp/NETWORKING/nc-static-IP.sh b/bin/ncp/NETWORKING/nc-static-IP.sh
index d8cfcff8..3716c017 100644
--- a/bin/ncp/NETWORKING/nc-static-IP.sh
+++ b/bin/ncp/NETWORKING/nc-static-IP.sh
@@ -84,6 +84,7 @@ iface $IFACE inet static
dns-nameservers $DNS 8.8.8.8
EOF
systemctl restart networking
+ pkill dhclient
}
ncc config:system:set trusted_domains "${TRUSTED_DOMAINS[ip]}" --value="$IP"