Date: Tue, 1 Dec 1998 00:03:45 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: ADRIAN Filipi-Martin <adrian@ubergeeks.com>, Dan Busarow <dan@dpcsys.com>, Eivind Eklund <eivind@yes.no>, hackers@FreeBSD.ORG Subject: Re: System V init (was: Linux to be deployed in Mexican schools; Where was FreeBSD?) Message-ID: <199812010803.AAA03964@apollo.backplane.com> References: <Pine.BSF.3.96.981201022802.4238M-100000@lorax.ubergeeks.com> <199812010743.XAA03898@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
: ---- some rc.xxx file ---- : #!/bin/sh : #DEPENDS(network,sendmail,...) RETURNS(atm) : # : ... : -------------------------- Doh. bad example. Here's a better example: -------------- rc.network --------------- #!/bin/sh #DEPENDS(network.local,ifc,lo,routes,ipfw) RETURNS(network) # exit 0 -------------- rc.bind --------------- #!/bin/sh #DEPENDS(network) RETURNS(bind) # ... named startup ... -------------- rc.sendmail --------------- #!/bin/sh #DEPENDS(bind,hostname) RETURNS(sendmail) # ... sendmail startup ... ... other rc files ... Plus a C program to locate and execute dependancies and/or to locate and print out the dependancy tree (to make sense of the nonsense). Which /etc/rc runs. -Matt Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet Communications & God knows what else. <dillon@backplane.com> (Please include original email in any response) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812010803.AAA03964>