Date: Thu, 20 Jun 2002 17:55:07 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Hongbin Yang <yanghb@sympatico.ca> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: question to run linux program Message-ID: <20020620225507.GA69670@dan.emsphone.com> In-Reply-To: <001201c2187d$5e8be400$0100a8c0@YANGTX> References: <001201c2187d$5e8be400$0100a8c0@YANGTX>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 20), Hongbin Yang said: > Hi all, > > As we know "brandelf" can be use to run linux binary. > > Now my question is : I have a linux application. Its executable is a > piece of script. The line that starts the job is "exec XXXXX ......". > How can I change to make it run in freebsd box? If what you're saying is you have a Linux software package, with scripts and binaries in it, and the binaries run fine, but you also want the scripts to run in Linux emulation as well, you can edit the first line of the scripts to read #! /compat/linux/bin/sh (or bash, if that's what they had before). If you're saying you have a standalone shell script and you want to run it, just run it. It'll work. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020620225507.GA69670>