Date: Sat, 16 May 2009 14:48:34 GMT From: Lucius Windschuh <lwindschuh@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/134579: [devd.conf] Semicolon missing Message-ID: <200905161448.n4GEmYKd096934@www.freebsd.org> Resent-Message-ID: <200905161450.n4GEo1JS089853@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905161448.n4GEmYKd096934>