Date: Fri, 14 Jun 2002 18:36:23 +0200 From: Dennis Kristensen <snicki@snicki.dk> To: Gordon Tetlow <gordont@gnf.org> Cc: current@freebsd.org Subject: Re: HEADS UP: rc.d is in the tree Message-ID: <3D0A1B87.4020503@snicki.dk> References: <Pine.LNX.4.44.0206131534350.28471-100000@smtp.gnf.org> <3D09EF88.3010807@snicki.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
> > >> Please try out the functionality by putting rc_ng="YES" into your >> rc.conf and post any problems you might have. >> >> > I have given this a try, but have a few problems. My rc.conf is attached. > > 1: > When bringing up fxp0 with IP from DHCP i get: > Doing initial network setup: hostnamefxp0: > flags=8843<UP,BROADCAST,RUNNING,SIMPL > EX,MULTICAST> mtu 1500 > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > ... > Without rc_ng, and a manual 'dhclient fxp0' still works. Is there > another way to do this with this new scheme? This is solved with the below patch. -Dennis ~$ diff -u /usr/src/etc/rc.d/network1 /etc/rc.d/network1 --- /usr/src/etc/rc.d/network1 Fri Jun 14 00:14:36 2002 +++ /etc/rc.d/network1 Fri Jun 14 18:24:08 2002 @@ -140,7 +140,8 @@ done if [ ! -z "${dhcp_interfaces}" ]; then - ${dhcp_program:-/sbin/dhclient} ${dhcp_flags} ${dhcp_interfaces} fi + ${dhcp_program:-/sbin/dhclient} ${dhcp_flags} ${dhcp_interfaces} + fi for ifn in ${network_interfaces}; do # Check to see if aliases need to be added @@ -274,7 +275,6 @@ # XXX this must die if [ -s /etc/netstart.local ]; then sh /etc/netstart.local start - fi fi echo '.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D0A1B87.4020503>