]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- removed dupliceted section; converted to English
authorankry <ankry@pld-linux.org>
Mon, 17 Feb 2003 01:37:22 +0000 (01:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mysql.init -> 1.27

mysql.init

index e282640a0131f5b87a8aefd8d68a4d7b81b513d7..2da865678f609a4c4748313c2bd88b3b0f6ec0a4 100644 (file)
@@ -14,7 +14,7 @@
 # Get network config
 . /etc/sysconfig/network
 
-# Check that networking is up.
+# Check that networking is up
 if is_no "${NETWORKING}"; then
        msg_network_down MySQL
        exit 1
@@ -28,14 +28,9 @@ if [ -f /etc/sysconfig/mysql ] ; then
        . /etc/sysconfig/mysql
 fi
 
-# Daemon don't dies if config doesn't exists
+# Daemon doesn't die if config doesn't exist
 if [ ! -f $MYSQLD_CONFIG ]; then 
-    echo "MySQL config $MYSQLD_CONFIG not exists"
-    exit 1
-fi
-
-if [ ! -f $MYSQLD_CONFIG ]; then 
-    echo "MySQL config $MYSQLD_CONFIG not exists"
+    echo "MySQL config $MYSQLD_CONFIG does not exist"
     exit 1
 fi
 
@@ -59,13 +54,13 @@ END {
 ' /etc/mysqld.conf`
 
 if [ -z $MYSQL_DATA_DIR ]; then 
-    echo "MySQL datadir $MYSQL_DATA_DIR not configured propely!"
+    echo "MySQL datadir $MYSQL_DATA_DIR not configured properly!"
     echo "Edit $MYSQLD_CONFIG and configure it."
     exit 1
 fi
 
 if [ -z $MYSQL_USER ]; then 
-    echo "MySQL user not configured propely!"
+    echo "MySQL user not configured properly!"
     echo "Edit $MYSQLD_CONFIG and configure it."
     exit 1
 fi
@@ -128,7 +123,7 @@ case "$1" in
        # Check if not exist init database
        if [ -d "$MYSQL_DATA_DIR/mysql" ]; then
            echo "Seems that database is initialized now. Remove by hand $MYSQL_DATA_DIR/mysql"
-           echo "before initialize database."
+           echo "before initializing database."
            exit 1;
        fi
 
@@ -136,7 +131,7 @@ case "$1" in
        busy
        TMP=/tmp TMPDIR=/tmp 
        
-       # Install this too in the user table
+       # Install this in the user table, too
        hostname="`hostname --fqdn | tr -d '[:space:]'`"
                
        # Check if hostname is valid
This page took 0.182511 seconds and 4 git commands to generate.