diff options
author | 2013-04-06 19:16:38 -0500 | |
---|---|---|
committer | 2013-04-06 19:16:38 -0500 | |
commit | 47ea0ec38495fd7b434c628c5f71944b67700c0a (patch) | |
tree | 092d22ddbf8f2528f9f26f79ade6698c7d24198d /profiles | |
parent | Start adding new base Sattvik profile (diff) | |
download | sattvik-47ea0ec38495fd7b434c628c5f71944b67700c0a.tar.gz sattvik-47ea0ec38495fd7b434c628c5f71944b67700c0a.tar.bz2 sattvik-47ea0ec38495fd7b434c628c5f71944b67700c0a.zip |
Update OpenRC patch to correctly send DDNS options
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/sattvik/linux/amd64/13.0/sattvik_patches/sys-apps/openrc-0.11.8/openrc-0.11.8-add-dhcpv6-support.patch | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/profiles/sattvik/linux/amd64/13.0/sattvik_patches/sys-apps/openrc-0.11.8/openrc-0.11.8-add-dhcpv6-support.patch b/profiles/sattvik/linux/amd64/13.0/sattvik_patches/sys-apps/openrc-0.11.8/openrc-0.11.8-add-dhcpv6-support.patch index cc87dbd..b4de42e 100644 --- a/profiles/sattvik/linux/amd64/13.0/sattvik_patches/sys-apps/openrc-0.11.8/openrc-0.11.8-add-dhcpv6-support.patch +++ b/profiles/sattvik/linux/amd64/13.0/sattvik_patches/sys-apps/openrc-0.11.8/openrc-0.11.8-add-dhcpv6-support.patch @@ -62,10 +62,10 @@ index d42b5ae..2d6d4fb 100644 { diff --git a/net/dhclientv6.sh b/net/dhclientv6.sh new file mode 100644 -index 0000000..0d36bd0 +index 0000000..f87ed4d --- /dev/null +++ b/net/dhclientv6.sh -@@ -0,0 +1,79 @@ +@@ -0,0 +1,82 @@ +# Copyright (c) 2007-2008 Roy Marples <roy@marples.name> +# Released under the 2-clause BSD license. + @@ -108,7 +108,10 @@ index 0000000..0d36bd0 + local hname="$(hostname)" + if [ "${hname}" != "(none)" -a "${hname}" != "localhost" ]; then + dhconf="${dhconf} interface \"${IFACE}\" {" -+ dhconf="${dhconf} send host-name \"${hname}\";" ++ dhconf="${dhconf} send fqdn.fqdn \"${hname}\";" ++ dhconf="${dhconf} send fqdn.encoded on;" ++ dhconf="${dhconf} send fqdn.server-update on;" ++ dhconf="${dhconf} send fqdn.no-client-update on;" + dhconf="${dhconf}}" + fi + fi |