-
Type:
Task
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Fix Version/s: 5.5.37
-
Component/s: None
-
Labels:
As many other services do (in CentOS), it would be handy if /etc/init.d/mysql could source another script, in which some actions can be done (mount disks, error checking...).
I suggest the following:
# Find the name of the script
|
NAME=`basename $0`
|
# import file if present
|
[ -f /etc/sysconfig/${NAME} ] && . /etc/sysconfig/${NAME}
|