All pastes #958237 Raw Edit

Stuff

public shellscript v1 · immutable
#958237 ·published 2008-03-26 16:21 UTC
rendered paste body
        # check if either the mysql or mysqld service is enabled at boot        check_service_init "mysqld" "1" > /dev/null        if [ "$?" = "1" ]; then                check_service_init "mysql" "1" > /dev/null                if [ "$?" = "1" ];then                        check_service_init "mysql" "1"                else                        check_service_init "mysql" "1"                fi        else                check_service_init "mysqld" "1"        fi