shark-files/usr/bin/DO_A_BARREL_ROLL

19 lines
320 B
Bash
Executable File

#!/bin/bash
roll() {
while true; do
LED R
LED Y
LED G
LED C
LED B
LED M
done
}
if pgrep -f DO_A_BARREL_ROLL | grep -qvE "$$|${PPID}"; then
kill "$(pgrep -f DO_A_BARREL_ROLL | grep -vE "$$|${PPID}" | tr '\n' ' ')" > /dev/null 2>&1
fi
roll > /dev/null 2>&1 &