prevent resolv.conf updates only, the fastest way is to redefine the function to do nothing:
create flowing file
create flowing file
# cat /etc/dhclient-enter-hooksThen save the file and ensure it is executable:
make_resolv_conf() {
exit 0
}
# chmod a+x /etc/dhclient-enter-hooksNote that, as explained in the man page, the dhclient-script is not standard so if this configuration doesn’t work, please read the man page.
0 comments:
Post a Comment