Created
August 9, 2022 06:14
-
-
Save mekb-turtle/a5571b1cc1867f2b6100d60666f37739 to your computer and use it in GitHub Desktop.
stop dhcpcd from overriding resolv.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#controlgroup wheel | |
#hostname | |
#clientid | |
duid | |
persistent | |
vendorclassid | |
#option domain_name_servers, domain_name, domain_search | |
option classless_static_routes | |
option interface_mtu | |
option host_name | |
#option ntp_servers | |
option rapid_commit | |
require dhcp_server_identifier | |
#slaac hwaddr | |
slaac private | |
noipv4ll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Trigger] | |
Operation = Install | |
Operation = Upgrade | |
Type = Package | |
Target = dhcpcd | |
[Action] | |
Description = Removing resolv.conf settings on dhcpcd | |
When = PostTransaction | |
Exec = /usr/bin/rm -v '/usr/lib/dhcpcd/dhcpcd-hooks/20-resolv.conf' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment