Update 9990-select-eth-device.sh
authorSteven Shiau <steven@stevenshiau.org>
Thu, 22 Oct 2020 00:56:19 +0000 (00:56 +0000)
committerSteven Shiau <steven@stevenshiau.org>
Thu, 22 Oct 2020 00:56:19 +0000 (00:56 +0000)
components/9990-select-eth-device.sh

index c8f36b0..b431781 100755 (executable)
@@ -92,6 +92,7 @@ Select_eth_device ()
                                                echo "Connected $interface found"
                                                # inform initrd's init script :
                                                found_eth_dev="$found_eth_dev $interface"
+                                               found_eth_dev="$(echo $found_eth_dev | sed -e "s/^[[:space:]]*//g")"
                                                ;;
                                esac
                        done