5 lines
85 B
Bash
5 lines
85 B
Bash
#!/bin/sh
|
|
read dev
|
|
BDF=0000:$dev
|
|
echo $BDF > /sys/bus/pci/devices/$BDF/driver/unbind
|