while [ 1 == 1 ]; do
export a="$((RANDOM % 4))"
export b="$((RANDOM % 4))"
export c="$((RANDOM % 4))"
export d="$((RANDOM % 4))"
if [ $a == "0" ]; then
export a="r"
fi
if [ $a == "1" ]; then
export a="o"
fi
if [ $a == "2" ]; then
export a="g"
fi
if [ $a == "3" ]; then
export a="x"
fi

if [ $b == "0" ]; then
export b="r"
fi
if [ $b == "1" ]; then
export b="o"
fi
if [ $b == "2" ]; then
export b="g"
fi
if [ $b == "3" ]; then
export b="x"
fi

if [ $c == "0" ]; then
export c="r"
fi
if [ $c == "1" ]; then
export c="o"
fi
if [ $c == "2" ]; then
export c="g"
fi
if [ $c == "3" ]; then
export c="x"
fi

if [ $d == "0" ]; then
export d="r"
fi
if [ $d == "1" ]; then
export d="o"
fi
if [ $d == "2" ]; then
export d="g"
fi
if [ $d == "3" ]; then
export d="x"
fi
/bin/led "$a$b$c$d"
sleep 2
done
