initial commit of file from CVS for smeserver-tt-rss on Sat Sep 7 21:09:52 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 21:09:52 +10:00
parent 6d03a0526c
commit 6f0f7fedad
37 changed files with 973 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
#! /bin/sh
MYSQLDB=$1
USAGE="Usage: mysql-init-status MYSQLDBNAME"
#if no MYSQLDBname is provided return usage
if [[ "${MYSQLDB}" == "" ]]
then
echo ${USAGE} >&2
exit 1
fi
if [[ -x "/etc/e-smith/sql/init/$MYSQLDB" ]]
then
/usr/bin/systemctl restart mysql.init.service
else
exit 0
fi