Hi--
On Aug 26, 2008, at 12:47 PM, Christopher Joyner wrote:
How can I get the source code for the /sbin/halt program?
When I run that program, it causes my cpu fan to speed up. I want
to look at it, because
I believe I can fix that problem.
halt is a hard link to reboot:
% ident /sbin/halt
/sbin/halt:
$FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.7 2005/05/19 07:31:06
dfr Exp $
$FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.6 2005/05/19 07:31:06
dfr Exp $
$FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4.10.1 2007/12/07
14:15:46 kib Exp $
$FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.14 2005/05/19 07:36:07
dfr Exp $
$FreeBSD: src/sbin/reboot/reboot.c,v 1.24.2.1 2006/08/25
12:55:50 bms Exp $
See /usr/src/sbin/reboot/reboot.c or
http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/reboot/reboot.c
--
-Chuck
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"