From owner-freebsd-stable Tue Aug 27 13:17:46 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50E8837B400 for ; Tue, 27 Aug 2002 13:17:41 -0700 (PDT) Received: from radix.cryptio.net (radix.cryptio.net [199.181.107.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id C00BF43E6E for ; Tue, 27 Aug 2002 13:17:40 -0700 (PDT) (envelope-from emechler@radix.cryptio.net) Received: from radix.cryptio.net (localhost [127.0.0.1]) by radix.cryptio.net (8.12.5/8.12.5) with ESMTP id g7RKHek6061487 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 27 Aug 2002 13:17:40 -0700 (PDT) (envelope-from emechler@radix.cryptio.net) Received: (from emechler@localhost) by radix.cryptio.net (8.12.5/8.12.5/Submit) id g7RKHeZd061486; Tue, 27 Aug 2002 13:17:40 -0700 (PDT) Date: Tue, 27 Aug 2002 13:17:40 -0700 From: Erick Mechler To: Miha Nedok Cc: freebsd-stable@FreeBSD.ORG Subject: Re: sh(1) problems after upgrade Message-ID: <20020827201740.GM90157@techometer.net> References: <20020827215400.L60568-100000@defiant.zrcalo.si> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020827215400.L60568-100000@defiant.zrcalo.si> User-Agent: Mutt/1.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :: 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