Update thunderbolt script

This commit is contained in:
Fabian Hauser 2023-03-24 08:49:21 +01:00
parent 9f1f2884ba
commit 0fa15f9851

View file

@ -20,12 +20,12 @@ let
echo "Force PCI remove on all thunderbolt devices"
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"
done
echo 'Please re-plug the dock and press enter to continue [enter]'
echo 'Please re-plug the dock and confirm [enter]'
read
echo 'Rescanning PCI devices...'