You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
337 B
Bash
12 lines
337 B
Bash
#!/bin/sh
|
|
|
|
# Make sure script is run as root.
|
|
if [ "$(id -u)" != "0" ]; then
|
|
echo "Must be run as root with sudo! Try: sudo ./disable.sh"
|
|
exit 1
|
|
fi
|
|
|
|
# Disable any supervisor process that start video looper.
|
|
supervisorctl stop video_looper
|
|
mv /etc/supervisor/conf.d/video_looper.conf /etc/supervisor/conf.d/video_looper.conf.disabled
|