sudo chown -R comma:comma /data/openpilot &

cd /data/openpilot/shell/

sudo bash ./configure_ssh.sh
sudo bash ./set_logo.sh

cd /data/openpilot/logs

rm -f watcher.log.gz
ls watcher.log && gzip watcher.log

chmod +x /data/openpilot/shell/watcher_run_loop.sh
sudo pkill -f "/bin/sh /data/openpilot/shell/watcher_run_loop.sh"
sudo rm -rf /run/screen/S-comma
screen -dmS "watcher" /data/openpilot/shell/watcher_run_loop.sh
