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:
authornachoparker <nacho@ownyourbits.com>2021-10-18 17:06:23 +0300
committernachoparker <nacho@ownyourbits.com>2021-10-18 17:09:10 +0300
commit06ffb1eecde0334fd9e335875c2655174ae9adc7 (patch)
treee88f45bd90e3a51764ec1134624cdd1933e33b06
parent74ed53f2de92fcb87810732e8f96d8783ab59926 (diff)
nc-static-IP: make sure dhclient is no longer runningv1.41.6
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-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"