From owner-freebsd-questions Tue Mar 16 18:10:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 49EBF15160 for ; Tue, 16 Mar 1999 18:10:48 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id VAA02429; Tue, 16 Mar 1999 21:10:30 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199903170210.VAA02429@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Changing the output of uname? In-Reply-To: from jasonm at "Mar 16, 99 11:01:31 am" To: jasonm@tool.net (jasonm) Date: Tue, 16 Mar 1999 21:10:30 -0500 (EST) Cc: opsys@omaha.com, freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jasonm wrote, > > > Well this is a simple answer. write a program in c that looks > like this: > > #include > > int main (int argc, char *argv) > { > printf("FreeBSD bsd.machine.name 3.1-RELEASE blah blah blah\n"); > } > > > compile it, mv the real uname to uname.orig and put this new binary in > it's place. Problem solved, although I can't believe this is going to > work 100%, the install script may only check the uname but I there is a > reason they don't want it installed on any other bsd system, most likely > because it won't work ;). Why not just, #!/bin/sh echo "OpenBSD blah-blah-blee, yada-yada..." -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message