Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2002 13:17:40 -0700
From:      Erick Mechler <emechler@techometer.net>
To:        Miha Nedok <mike@mike.unix-systems.net>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: sh(1) problems after upgrade
Message-ID:  <20020827201740.GM90157@techometer.net>
In-Reply-To: <20020827215400.L60568-100000@defiant.zrcalo.si>
References:  <20020827215400.L60568-100000@defiant.zrcalo.si>

next in thread | previous in thread | raw e-mail | index | archive | help
:: sh(1) changes affect it's behaviour.
:: The rc script for MySQL coming with the port doesn't work.
:: 
:: /usr/local/etc/rc.d/mysql-server.sh start
:: /usr/local/etc/rc.d/mysql-server.sh: 6: Syntax error: "&&" unexpected

/bin/sh has been fixed, and the mysql-server.sh script relied on the old
behavior.  To fix it, just change the 'start' case in the case statement so
it looks like this:

        start)
                if [ -x /usr/local/bin/safe_mysqld ]; then
                        /usr/local/bin/safe_mysqld --user=mysql > /dev/null &
                        echo -n ' mysqld'
                fi
                ;;

Cheers - Erick

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020827201740.GM90157>