Files @ 2ee8c8344ccb
Branch filter:

Location: vmkdrivers/collect-drivers.sh

unknown
ESXi-6.0-U1a
#! /bin/bash

# Iterate through this directory and copy all of the driver files into a directory
mkdir drivers
for filename in *
do
	if [[ "$filename" == vmkdriver* ]]; then
		driverName=${filename//vmkdriver-/}
		driverName=${driverName//-CUR/}
		driverPath=$filename/release/vmkernel64/$driverName
		cp $driverPath drivers
	fi
done