conf/134579: [devd.conf] Semicolon missing

看板FB_bugs作者時間16年前 (2009/05/17 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
>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: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
文章代碼(AID): #1A3l-300 (FB_bugs)
文章代碼(AID): #1A3l-300 (FB_bugs)