https://www.scs.stanford.edu/~dm/blog/hide-webcam.html
UPDATED:
Simple script to run through all the steps:
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
#!/bin/bash | |
# chmod the script and run like this ./ctabus.sh [bus code] | |
# This gets the times from the raw HTML code sent from the server | |
# Special thanks to chatgpt for fixing the grep statements! | |
curl -s "https://ctabustracker.com/bustime/wireless/html/eta.jsp?route=NULL&direction=NULL&id=$1&showAllBusses=on" | grep -oP '<strong.*>(.*?)</strong>' | grep -vE '<strong.*>#[0-9]{1,3} </strong>' | sed -E 's/.*>([0-9]+).*/\1/;t;s/.*>DUE.*/DUE/' |
https://www.scs.stanford.edu/~dm/blog/hide-webcam.html
UPDATED:
Simple script to run through all the steps:
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit