Update thunderbolt script
This commit is contained in:
parent
9f1f2884ba
commit
0fa15f9851
1 changed files with 2 additions and 2 deletions
|
@ -20,12 +20,12 @@ let
|
||||||
|
|
||||||
echo "Force PCI remove on all thunderbolt devices"
|
echo "Force PCI remove on all thunderbolt devices"
|
||||||
for DEVICE in $THUNDERBOLT_DEVICES; do
|
for DEVICE in $THUNDERBOLT_DEVICES; do
|
||||||
echo 1 > /sys/bus/pci/devices/0000\:$DEVICE/remove
|
echo 1 > /sys/bus/pci/devices/$DEVICE/remove
|
||||||
echo "Dropped device $DEVICE"
|
echo "Dropped device $DEVICE"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
echo 'Please re-plug the dock and press enter to continue [enter]'
|
echo 'Please re-plug the dock and confirm [enter]'
|
||||||
read
|
read
|
||||||
|
|
||||||
echo 'Rescanning PCI devices...'
|
echo 'Rescanning PCI devices...'
|
||||||
|
|
Loading…
Add table
Reference in a new issue