From owner-freebsd-bugs@FreeBSD.ORG Sat May 16 14:50:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85A421065674 for ; Sat, 16 May 2009 14:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 45A008FC13 for ; Sat, 16 May 2009 14:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4GEo1eX089854 for ; Sat, 16 May 2009 14:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4GEo1JS089853; Sat, 16 May 2009 14:50:01 GMT (envelope-from gnats) Resent-Date: Sat, 16 May 2009 14:50:01 GMT Resent-Message-Id: <200905161450.n4GEo1JS089853@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lucius Windschuh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D950106564A for ; Sat, 16 May 2009 14:48:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 6AD428FC1B for ; Sat, 16 May 2009 14:48:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n4GEmYRN096935 for ; Sat, 16 May 2009 14:48:34 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n4GEmYKd096934; Sat, 16 May 2009 14:48:34 GMT (envelope-from nobody) Message-Id: <200905161448.n4GEmYKd096934@www.freebsd.org> Date: Sat, 16 May 2009 14:48:34 GMT From: Lucius Windschuh To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: conf/134579: [devd.conf] Semicolon missing X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2009 14:50:01 -0000 >Number: 134579 >Category: conf >Synopsis: [devd.conf] Semicolon missing >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 16 14:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Lucius Windschuh >Release: CURRENT >Organization: >Environment: FreeBSD current 8.0-CURRENT FreeBSD 8.0-CURRENT #9 r192020M: Tue May 12 21:47:51 UTC 2009 root@current:/usr/obj/usr/src/sys/CURRENT i386 >Description: There is a semicolon missing in /etc/devd.conf, line 135: # Firmware download for Entrega Serial DB25 adapter. attach 100 { match "vendor" "0x1645"; match "product" "0x8001"; match "release" "0x0101"; action "if ! kldstat -n usio > /dev/null 2>&1 ; then kldload usio; fi /usr/sbin/ezdownload -v -f /usr/share/usb/firmware/1645.8001.0101 /dev/$device-name"; }; This produces an error when such an adaptor is plugged in: Syntax error: word unexpected >How-To-Repeat: Paste the action line into /bin/sh >Fix: Add a semicolon: # Firmware download for Entrega Serial DB25 adapter. attach 100 { match "vendor" "0x1645"; match "product" "0x8001"; match "release" "0x0101"; action "if ! kldstat -n usio > /dev/null 2>&1 ; then kldload usio; fi; /usr/sbin/ezdownload -v -f /usr/share/usb/firmware/1645.8001.0101 /dev/$device-name"; }; >Release-Note: >Audit-Trail: >Unformatted: