Module Name: src Committed By: kim Date: Fri Oct 16 15:31:04 UTC 2020
Modified Files: src/etc/rc.d: network Log Message: network: Update rtsol options - Use "-6" instead of "--noipv4" as it seems more appropriate based on the dhcpcd(8) manual page. - Remove "-f /dev/null" as it seems unnecessary with "-6". - Remove "--persistent" as it is in the default /etc/dhcpcd.conf, and this way the user can change it, if they would like to (either through dhcpcd_flags or by editing /etc/dhcpcd.conf). The "-b" (or "--background") option is needed to avoid a timeout error message (and a delay in booting), so it is still left in place. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/etc/rc.d/network Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/etc/rc.d/network diff -u src/etc/rc.d/network:1.84 src/etc/rc.d/network:1.85 --- src/etc/rc.d/network:1.84 Thu Oct 15 07:05:27 2020 +++ src/etc/rc.d/network Fri Oct 16 15:31:04 2020 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: network,v 1.84 2020/10/15 07:05:27 kim Exp $ +# $NetBSD: network,v 1.85 2020/10/16 15:31:04 kim Exp $ # # PROVIDE: network @@ -325,9 +325,7 @@ network_start_interfaces() ;; rtsol) if ! checkyesno dhcpcd; then - /sbin/dhcpcd -n -f /dev/null \ - --background --persistent \ - --noipv4 \ + /sbin/dhcpcd -n6b \ ${dhcpcd_flags} $int fi ;;