Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#1206 - let user specify options for dhcpcd in rc.d/network
|
DetailsHere is a patch to /etc/rc.d/network to allow the user to specify options for the dhcpcd call in /etc/rc.d/network. I use this to add the '-N' option so it doesn't mess with my ntpd setup.
--- network.orig 2004-07-29 18:49:28.000000000 -0400 +++ network 2004-07-29 18:48:04.000000000 -0400 @@ -3,6 +3,9 @@ . /etc/rc.conf . /etc/rc.d/functions +DHCPCD_ARGS= +[ -f /etc/conf.d/network.conf ] && . /etc/conf.d/network.conf + ifup() { if [ "$1" = "" ]; then @@ -14,7 +17,7 @@ if [ "$new_ifline" = "dhcp" ]; then # remove the .pid file if it exists rm -f /etc/dhcpc/dhcpcd-${1}.{pid,cache} >/dev/null 2>&1 - /usr/sbin/dhcpcd -t 10 -h $HOSTNAME $1 + /usr/sbin/dhcpcd -t 10 ${DHCPCD_ARGS} -h $HOSTNAME $1 else /sbin/ifconfig $new_ifline fi |
This task depends upon
Task #1183 — [rc.conf] need to pass options to dhcpcd
And being able to set it per interface would be better.
Ignore this task.