comparison hooks/20-resolv.conf @ 5535:a0d828e25482 draft

Add --noconfigure option With this set dhcpcd will not configure anything on the host. The expectation is that a 3rd party script will instead.
author Roy Marples <roy@marples.name>
date Wed, 04 Nov 2020 14:18:48 +0000
parents b2ea9faab536
children 4fe5c2a71254
comparison
equal deleted inserted replaced
5534:605f7f9a20c0 5535:a0d828e25482
196 new_domain_name_servers="$new_dhcp6_name_servers" 196 new_domain_name_servers="$new_dhcp6_name_servers"
197 new_domain_search="$new_dhcp6_domain_search" 197 new_domain_search="$new_dhcp6_domain_search"
198 ;; 198 ;;
199 esac 199 esac
200 200
201 if $if_up || [ "$reason" = ROUTERADVERT ]; then 201 if $if_configured; then
202 add_resolv_conf 202 if $if_up || [ "$reason" = ROUTERADVERT ]; then
203 elif $if_down; then 203 add_resolv_conf
204 remove_resolv_conf 204 elif $if_down; then
205 remove_resolv_conf
206 fi
205 fi 207 fi