allow udhcpc hook script parameter configuration from /etc/network/interfaces
/lib/rc/sh/udhcpc-hook.sh is owned by openrc-0.11.8-r2
If I say ‘peer-dns no’ ifupdown sets IF_PEER_DNS=no (I think), but the openrc script inspects only $PEER_DNS, not $IF_PEER_DNS. This it’s not possible to configure the DHCP features to use conveniently. I believe the shipped hook works only with Gentoo style ifcfg.ethX config files which allow setting per-interface variables.
(from redmine: issue id 2781, created on 2014-03-26, closed on 2014-04-16)
- Changesets:
- Revision f7ec72d8 by Timo Teräs on 2014-03-26T16:57:49Z:
main/busybox-initscripts: support 'peer-dns' in udhcpc hook
fixes #2781
- Revision 2da57d64 by Timo Teräs on 2014-03-27T08:16:32Z:
main/busybox-initscripts: support 'peer-dns' in udhcpc hook
fixes #2781
Conflicts:
main/busybox-initscripts/APKBUILD
- Revision b99767df by Timo Teräs on 2014-05-06T10:56:22Z:
main/busybox-initscripts: support 'peer-dns' in udhcpc hook
fixes #2781
(cherry picked from commit f7ec72d86e29789c1363774aa5986b0c016599d4)