Date: Tue, 16 Mar 1999 21:10:30 -0500 (EST) From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: jasonm@tool.net (jasonm) Cc: opsys@omaha.com, freebsd-questions@FreeBSD.ORG Subject: Re: Changing the output of uname? Message-ID: <199903170210.VAA02429@cc942873-a.ewndsr1.nj.home.com> In-Reply-To: <Pine.LNX.4.05.9903161058150.732-100000@hammer.tool.net> from jasonm at "Mar 16, 99 11:01:31 am"
next in thread | previous in thread | raw e-mail | index | archive | help
jasonm wrote,
>
>
> Well this is a simple answer. write a program in c that looks
> like this:
>
> #include <stdio.h>
>
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903170210.VAA02429>
