Skip to content

Commit

Permalink
Move puppeteer to headless chromium from repo
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMS Linux committed Apr 8, 2021
1 parent 89e879a commit 494651b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speedtest
Expand Up @@ -12,7 +12,7 @@ if [ `npm list -g | grep -c fast` -eq 0 ]; then
echo "NOT INSTALLED"
exit
fi
/usr/local/bin/fast -u > /var/log/nems/speedtest-fast.log
PUPPETEER_PRODUCT=chrome PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser /usr/local/bin/fast -u --single-process > /var/log/nems/speedtest-fast.log
speedresult=$(cat /var/log/nems/speedtest-fast.log)
pingresult=$(ping -qc1 fast.com 2>&1 | awk -F'/' 'END{ print (/^rtt/? "OK "$5" ms":"FAIL") }')

Expand Down

0 comments on commit 494651b

Please sign in to comment.