configuration merge with laptop and pc
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
PCIE_ADAPTER_SUFFIX=$(lspci | grep I225 | cut -d' ' -f1)
|
||||
PCIE_ADAPTER_ADDRESS=$(ls -1 /sys/bus/pci/devices | grep "${PCIE_ADAPTER_SUFFIX}")
|
||||
|
||||
pkexec bash -c "echo 1 > /sys/bus/pci/devices/${PCIE_ADAPTER_ADDRESS}/remove; echo 1 > /sys/bus/pci/rescan"
|
||||
Reference in New Issue
Block a user