Browse Source

- mdev: fix typo in usbcontrol script

master
vanhofen 7 years ago
parent
commit
5c30f1de6a
  1. 2
      skel-root/coolstream/hd1/lib/mdev/usb/usbcontrol
  2. 2
      skel-root/coolstream/hd2/lib/mdev/usb/usbcontrol

2
skel-root/coolstream/hd1/lib/mdev/usb/usbcontrol

@ -6,7 +6,7 @@
[ -z "$ACTION" ] && . /lib/mdev/usb/eventvars
# get proper product and manufacturer description (only works for ACTION=add)
[ -z "$DEVPATH" ] && logerror 'uevent environment variable DEVPATH is unset' && exit 1
[ -z "$DEVPATH" ] && LOGERROR 'uevent environment variable DEVPATH is unset' && exit 1
if [ -d /sys${DEVPATH} ]; then
cd /sys${DEVPATH}/..
for f in product manufacturer id[PV]*; do

2
skel-root/coolstream/hd2/lib/mdev/usb/usbcontrol

@ -6,7 +6,7 @@
[ -z "$ACTION" ] && . /lib/mdev/usb/eventvars
# get proper product and manufacturer description (only works for ACTION=add)
[ -z "$DEVPATH" ] && logerror 'uevent environment variable DEVPATH is unset' && exit 1
[ -z "$DEVPATH" ] && LOGERROR 'uevent environment variable DEVPATH is unset' && exit 1
if [ -d /sys${DEVPATH} ]; then
cd /sys${DEVPATH}/..
for f in product manufacturer id[PV]*; do

Loading…
Cancel
Save