From c4933e901a1fd513302f19d372b506e0a06aafc2 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 5 Aug 2018 06:50:24 +0200 Subject: ipecamera6 --- ip/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ip/functions.sh') diff --git a/ip/functions.sh b/ip/functions.sh index 2941953..3f45f63 100644 --- a/ip/functions.sh +++ b/ip/functions.sh @@ -7,7 +7,7 @@ function portset { function mlxconf { mode=$1 - pci=$(./connectx_port_config -s | grep PCI | grep -Po "\d{4}:\d{2}:\d{2}\.\d") + pci=$(./connectx_port_config -s | grep PCI | grep -Po "[\da-f]{4}:[\da-f]{2}:[\da-f]{2}\.[\da-f]") for dev in $pci; do echo "Configuring: $dev" portset $dev $mode -- cgit v1.2.3