conf/134579: [devd.conf] Semicolon missing
Lucius Windschuh
lwindschuh at gmail.com
Sat May 16 14:50:01 UTC 2009
>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 at 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:
More information about the freebsd-bugs
mailing list