V8.13.528.2025.12.03
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m9s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m9s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -187,12 +187,18 @@ EOF
|
||||
echo "domain ${DNSDOMAIN}" > /etc/resolv.conf
|
||||
fi
|
||||
|
||||
for i in ${IPV4DNS0} ${IPV4DNS1} ${IPV4DNS1} ${DNSSERVERS}
|
||||
do
|
||||
if [ -n "${i}" ] && [ "${i}" != 0.0.0.0 ]
|
||||
then
|
||||
echo "nameserver ${i}" >> /etc/resolv.conf
|
||||
fi
|
||||
for i in ${IPV4DNS0} ${IPV4DNS1} ${IPV4DNS1} ${DNSSERVERS}; do
|
||||
|
||||
case "${i}" in
|
||||
|
||||
""|0.0.0.0|dhcp|DHCP)
|
||||
continue
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
echo "nameserver ${i}" >> /etc/resolv.conf
|
||||
|
||||
done
|
||||
|
||||
if [ -n "${DOMAINSEARCH}" ]
|
||||
|
||||
Reference in New Issue
Block a user