removing dns override options
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 23s
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 23s
This commit is contained in:
@@ -438,7 +438,6 @@ apply_static_resolv_conf() {
|
|||||||
lines="$(dns_nameserver_lines)"
|
lines="$(dns_nameserver_lines)"
|
||||||
content="# Managed by ${SCRIPT_NAME} v${SCRIPT_VERSION} at ${now}"$'\n'
|
content="# Managed by ${SCRIPT_NAME} v${SCRIPT_VERSION} at ${now}"$'\n'
|
||||||
content+="$lines"
|
content+="$lines"
|
||||||
content+="options timeout:2 attempts:2 rotate"$'\n'
|
|
||||||
|
|
||||||
write_root_file "/etc/resolv.conf" "$content" || return 1
|
write_root_file "/etc/resolv.conf" "$content" || return 1
|
||||||
run_root chmod 644 /etc/resolv.conf || true
|
run_root chmod 644 /etc/resolv.conf || true
|
||||||
|
|||||||
Reference in New Issue
Block a user