diff --git a/defaults/hardware/amd-board.nix b/defaults/hardware/amd-board.nix index 2b78aec..1f4283c 100644 --- a/defaults/hardware/amd-board.nix +++ b/defaults/hardware/amd-board.nix @@ -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...'