diff --git a/scripts/setup.sh b/scripts/setup.sh index a2319ec71..4d2346424 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -509,7 +509,7 @@ function configure_linux() { fi fi - if [ ! -f /dev/cpu/0/msr ]; then + if [ ! -e /dev/cpu/0/msr ]; then # Some distros build msr as a module. Make sure it's loaded to ensure # DPDK can easily figure out the TSC rate rather than relying on 100ms # sleeps.