Subject: machine-dependent rc files?
To: None <tech-userlevel@NetBSD.ORG>
From: Jason Thorpe <>
List: tech-userlevel
Date: 01/11/1996 11:56:50
I was looking at bin/1262 ([non-critical/medium]: screenblank isn't started.)
and was was wondering if we might want to have /etc/rc call 
machine-dependent scripts such as rc.sparc or rc.sun3 or rc.hp300 or 
whatever to deal with stuff that's somewhat machine-dependent.  I was 
thinking something like this:

# Run machine-dependent startup sequence
machtype=`sysctl -n hw.machine`
if [ -f /etc/rc.${machtype} ]; then
	. /etc/rc.${machtype}

Comments?  Am I opening a can of worms I don't want to open?  :-)

Jason R. Thorpe                             
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939