Date: Mon, 16 Oct 2000 13:24:38 -0500 (CDT) From: Chris Dillon <cdillon@wolves.k12.mo.us> To: Nick Hibma <n_hibma@FreeBSD.ORG> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/etc usbd.conf Message-ID: <Pine.BSF.4.21.0010161316100.59185-200000@mail.wolves.k12.mo.us> In-Reply-To: <200010161632.JAA31646@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1480175891-971720678=:59185 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 16 Oct 2000, Nick Hibma wrote: > n_hibma 2000/10/16 09:32:12 PDT > > Modified files: (Branch: RELENG_4) > etc usbd.conf > Log: > Remove the entry for the umass drives. It is no longer needed and has > been verified to work. > > Make some of the comments more useful by explaining what the commands do. > > Revision Changes Path > 1.5.2.2 +7 -15 src/etc/usbd.conf That reminds me... attached is a patch for usbd.conf that will do away with the nasty "killall dhclient" on detach of a USB ethernet interface. I don't have a way to actually test this patch, but it is simple enough that I don't think I screwed anything up. I just know someone is going to get bit by this in the future if it isn't fixed. :-) We might want to be real careful anywhere else we use "killall", as well. I'll paste it here, in addition to the attachment, for good measure: --- usbd.conf Mon Oct 16 13:09:00 2000 +++ usbd.conf.old Mon Oct 16 13:11:19 2000 @@ -28,8 +28,8 @@ # device "USB ethernet" devname "[ack]ue[0-9]+" - attach "dhclient ${DEVNAME}" - detach "killall dhclient" + attach "dhclient -pf /var/run/dhclient.${DEVNAME}.pid ${DEVNAME}" + detach "kill `cat /var/run/dhclient.${DEVNAME}.pid`" # The entry below starts moused when a mouse is plugged in. Moused # stops automatically (actually it bombs :) when the device disappears. -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet. For IA32 and Alpha architectures. IA64 and PowerPC under development. http://www.freebsd.org --0-1480175891-971720678=:59185 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="usbd.conf.patch" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.BSF.4.21.0010161324380.59185@mail.wolves.k12.mo.us> Content-Description: Content-Disposition: attachment; filename="usbd.conf.patch" LS0tIHVzYmQuY29uZglNb24gT2N0IDE2IDEzOjA5OjAwIDIwMDANCisrKyB1 c2JkLmNvbmYub2xkCU1vbiBPY3QgMTYgMTM6MTE6MTkgMjAwMA0KQEAgLTI4 LDggKzI4LDggQEANCiAjDQogZGV2aWNlICJVU0IgZXRoZXJuZXQiDQogCWRl dm5hbWUgIlthY2tddWVbMC05XSsiDQotCWF0dGFjaCAiZGhjbGllbnQgJHtE RVZOQU1FfSINCi0JZGV0YWNoICJraWxsYWxsIGRoY2xpZW50Ig0KKwlhdHRh Y2ggImRoY2xpZW50IC1wZiAvdmFyL3J1bi9kaGNsaWVudC4ke0RFVk5BTUV9 LnBpZCAke0RFVk5BTUV9Ig0KKwlkZXRhY2ggImtpbGwgYGNhdCAvdmFyL3J1 bi9kaGNsaWVudC4ke0RFVk5BTUV9LnBpZGAiDQogDQogIyBUaGUgZW50cnkg YmVsb3cgc3RhcnRzIG1vdXNlZCB3aGVuIGEgbW91c2UgaXMgcGx1Z2dlZCBp bi4gTW91c2VkDQogIyBzdG9wcyBhdXRvbWF0aWNhbGx5IChhY3R1YWxseSBp dCBib21icyA6KSB3aGVuIHRoZSBkZXZpY2UgZGlzYXBwZWFycy4NCg== --0-1480175891-971720678=:59185-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010161316100.59185-200000>