Commit 286851ad authored by Lucas Russo's avatar Lucas Russo

scripts/bpm-sw-stop.sh: fix wrong device name to /dev/fpga-<busno <<8 | devfn>

parent d274e2d5
...@@ -13,6 +13,6 @@ if [ -z "$BIN_INSTANCE" ]; then ...@@ -13,6 +13,6 @@ if [ -z "$BIN_INSTANCE" ]; then
fi fi
# FIXME: Find correct dev_io instance looking at all running processes # FIXME: Find correct dev_io instance looking at all running processes
TARGET_PID=$(ps aux | grep -Ei "dev_io.*/dev/fpga${BIN_INSTANCE}.*" | head -1 | awk '{print $2}') TARGET_PID=$(ps aux | grep -Ei "dev_io.*/dev/fpga-${BIN_INSTANCE}.*" | head -1 | awk '{print $2}')
kill ${TARGET_PID} kill ${TARGET_PID}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment