Fix typos, (ie, missing $'s)

This commit is contained in:
Scott Kilau 2022-06-24 11:12:41 -05:00
parent d0aae1aed7
commit 983a8d39a6

View File

@ -278,7 +278,7 @@ if [[ "$ENABLE_USB_ETH" == "true" ]]; then
insmod $KMOD_PATH/kernel/drivers/net/usb/usbnet.ko insmod $KMOD_PATH/kernel/drivers/net/usb/usbnet.ko
# Auto-Detect an Ethernet Driver and load it # Auto-Detect an Ethernet Driver and load it
if [[ "ENABLE_USB_ETH_MODULE_AUTODETECT" == "true" ]]; then if [[ "$ENABLE_USB_ETH_MODULE_AUTODETECT" == "true" ]]; then
for DEVICE in `lsusb | awk '{print $6}'| tr '[:upper:]' '[:lower:]'`; do for DEVICE in `lsusb | awk '{print $6}'| tr '[:upper:]' '[:lower:]'`; do
case $DEVICE in case $DEVICE in
'077b:2226' | '0846:1040' | '2001:1a00' | '0b95:1720' | '07b8:420a' |\ '077b:2226' | '0846:1040' | '2001:1a00' | '0b95:1720' | '07b8:420a' |\
@ -309,7 +309,7 @@ if [[ "$ENABLE_USB_ETH" == "true" ]]; then
fi fi
# Manually load any other Ethernet Drivers if asked for # Manually load any other Ethernet Drivers if asked for
if [[ "ENABLE_USB_ETH_MODULE_MANUAL" != "" ]]; then if [[ "$ENABLE_USB_ETH_MODULE_MANUAL" != "" ]]; then
for i in $(echo "$ENABLE_USB_ETH_MODULES" | tr "," "\n") for i in $(echo "$ENABLE_USB_ETH_MODULES" | tr "," "\n")
do do
insmod $KMOD_PATH/kernel/drivers/net/usb/$i.ko insmod $KMOD_PATH/kernel/drivers/net/usb/$i.ko