You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011
  1. #!/bin/sh
  2. # Make sure script is run as root.
  3. if [ "$(id -u)" != "0" ]; then
  4. echo "Must be run as root with sudo! Try: sudo ./disable.sh"
  5. exit 1
  6. fi
  7. # Disable any supervisor process that start video looper.
  8. supervisorctl stop video_looper
  9. mv /etc/supervisor/conf.d/video_looper.conf /etc/supervisor/conf.d/video_looper.conf.disabled