diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-06-11 09:32:58 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-06-11 22:10:47 +0200 |
commit | 0ccdf15c0acb0be128fa2346b72cfdd8ce16b694 (patch) | |
tree | 45bfaa5b4a7f4e3f9243420aee518e4e09a0a682 /src/etc/udev/rules.d | |
parent | f9b601ef78f9f3b46ca66ae945a7e9d2dadb521b (diff) | |
download | vyos-1x-0ccdf15c0acb0be128fa2346b72cfdd8ce16b694.tar.gz vyos-1x-0ccdf15c0acb0be128fa2346b72cfdd8ce16b694.zip |
dhclient hooks: T2486: update for vyos-hostsd rewrite
- vyos-hostsd-client syntax changed
- track changes in changes variable
- call apply only once at the end if any changes were made
- remove 'cli-shell-api existsEffective system disable-dhcp-nameservers'
condition check as the functionality was moved into vyos-hostsd
- remove comparison between old_ and new_ variables as it caused a bug
as the nameservers didn't get updated on renew or system restart,
the dhclient lease file persists across reboots, so on boot the old
variables will contain the values from previous dhclient run so they
will usually be equal to the new variables.
Diffstat (limited to 'src/etc/udev/rules.d')
0 files changed, 0 insertions, 0 deletions