diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-02 10:07:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 10:07:09 +0100 |
commit | eb41a9a96f5284d49156df9120316f46a6ad2f97 (patch) | |
tree | a4d4940464c07fd73fac6b0d0f541dcb342acc99 /src/system/on-dhcp-event.sh | |
parent | 4b0a78b0d2e4e0ea813e93b0842ae3aed15d1a43 (diff) | |
parent | dca220d515e6c1009b316400174382b88837df6c (diff) | |
download | vyos-1x-eb41a9a96f5284d49156df9120316f46a6ad2f97.tar.gz vyos-1x-eb41a9a96f5284d49156df9120316f46a6ad2f97.zip |
Merge pull request #2889 from sarthurdev/kea-hooks
dhcpv6: T3771: Installation of routes for delegated prefixes, add excluded-prefix to PD
Diffstat (limited to 'src/system/on-dhcp-event.sh')
-rwxr-xr-x | src/system/on-dhcp-event.sh | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/src/system/on-dhcp-event.sh b/src/system/on-dhcp-event.sh index 52fadd428..47c276270 100755 --- a/src/system/on-dhcp-event.sh +++ b/src/system/on-dhcp-event.sh @@ -1,12 +1,20 @@ #!/bin/bash - -# This script came from ubnt.com forum user "bradd" in the following post -# http://community.ubnt.com/t5/EdgeMAX/Automatic-DNS-resolution-of-DHCP-client-names/td-p/651311 -# It has been modified by Ubiquiti to update the /etc/host file -# instead of adding to the CLI. -# Thanks to forum user "itsmarcos" for bug fix & improvements -# Thanks to forum user "ruudboon" for multiple domain fix -# Thanks to forum user "chibby85" for expire patch and static-mapping +# +# Copyright (C) 2024 VyOS maintainers and contributors +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 or later as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# if [ $# -lt 1 ]; then echo Invalid args |