From owner-freebsd-questions Thu Aug 30 18:59:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta04.mail.mel.aone.net.au (mta04.mail.au.uu.net [203.2.192.84]) by hub.freebsd.org (Postfix) with ESMTP id 0BA3537B403 for ; Thu, 30 Aug 2001 18:59:52 -0700 (PDT) (envelope-from IMCEAX400-c=AU+3Ba=+20+3Bp=MITS+3Bo=MITSPERTH+3Bdda+3ASMTP=nelsont+40wa+2Eswitch+2Eaust+2Ecom+3B@mits.com.au) Received: from mits_melb_tvcs.mits.com.au ([203.103.168.67]) by mta02.mail.mel.aone.net.au with SMTP id <20010831014527.HMXS4158.mta02.mail.mel.aone.net.au@mits_melb_tvcs.mits.com.au> for ; Fri, 31 Aug 2001 11:45:27 +1000 Received: from 172.16.6.1 by mits_melb_tvcs.mits.com.au (InterScan E-Mail VirusWall NT); Fri, 31 Aug 2001 11:44:46 +1100 Received: by MITS_COM1 with Internet Mail Service (5.5.2650.21) id ; Fri, 31 Aug 2001 11:42:07 +1100 Received: from freebsd06.udt (10.0.2.56 [10.0.2.56]) by mits_perth_com1.mitswa.com.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id RY4P87X2; Fri, 31 Aug 2001 09:45:19 +0800 Received: by freebsd06.udt (sSMTP sendmail emulation); Fri, 31 Aug 2001 09:52:44 +0800 From: Trent Nelson To: freebsd-questions@FreeBSD.org Date: Fri, 31 Aug 2001 09:52:44 +0800 Subject: Linux compatibility problem. Message-ID: <20010831095244.N1562@freebsd06.udt> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------InterScan_NT_MIME_Boundary" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------InterScan_NT_MIME_Boundary Content-Type: text/plain; charset=us-ascii If I've invoked /compat/linux/bin/bash and attempt to run a shell script that has "#!/bin/sh" as its first line, the FreeBSD /bin/sh seems to get called as the interpreter - as opposed to /compat/linux/bin/sh. Is this correct? This is breaking a Linux installation script I'm working with as its doing a `uname -r' and getting "4.3-RELEASE" instead of "2.2.14". I'm invoking the /compat/linux/bin/bash shell in this instance and working with that. Thanks in advance. Trent. -- Trent Nelson - Software Engineer - nelsont@switch.aust.com "A man with unlimited enthusiasm can achieve almost anything." --unknown --------------InterScan_NT_MIME_Boundary Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination, copying or other use of, or taking any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you have received this email and you are not the intended recipient, please contact the sender and delete the material from your system. The company is not responsible for any changes made to the material other than those made by the company or for the effect of the changes on the meaning of the material. --------------InterScan_NT_MIME_Boundary-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message