From 983a8d39a69413938600bc6ca3dbeefcf7302d5b Mon Sep 17 00:00:00 2001 From: Scott Kilau Date: Fri, 24 Jun 2022 11:12:41 -0500 Subject: [PATCH] Fix typos, (ie, missing $'s) --- SD_ROOT/wz_mini/etc/init.d/wz_user.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SD_ROOT/wz_mini/etc/init.d/wz_user.sh b/SD_ROOT/wz_mini/etc/init.d/wz_user.sh index 766186f..5af16d2 100755 --- a/SD_ROOT/wz_mini/etc/init.d/wz_user.sh +++ b/SD_ROOT/wz_mini/etc/init.d/wz_user.sh @@ -278,7 +278,7 @@ if [[ "$ENABLE_USB_ETH" == "true" ]]; then insmod $KMOD_PATH/kernel/drivers/net/usb/usbnet.ko # 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 case $DEVICE in '077b:2226' | '0846:1040' | '2001:1a00' | '0b95:1720' | '07b8:420a' |\ @@ -309,7 +309,7 @@ if [[ "$ENABLE_USB_ETH" == "true" ]]; then fi # 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") do insmod $KMOD_PATH/kernel/drivers/net/usb/$i.ko