mb-admin/scripts/relay/check_relay_status.sh

8 lines
110 B
Bash

#!/bin/bash
if php -m | grep -q relay; then
echo "Relay is enabled"
else
echo "Relay is disabled"
fi