From owner-freebsd-hackers Sat Jun 16 6:21:52 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.noos.fr (aragon.noos.net [212.198.2.75]) by hub.freebsd.org (Postfix) with ESMTP id 9253437B401 for ; Sat, 16 Jun 2001 06:21:46 -0700 (PDT) (envelope-from clefevre@redirect.to) Received: (qmail 4721972 invoked by uid 0); 16 Jun 2001 13:21:44 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.228.81]) (envelope-sender ) by 212.198.2.75 (qmail-ldap-1.03) with SMTP for ; 16 Jun 2001 13:21:44 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.3/8.11.3) id f5GDLgM97151; Sat, 16 Jun 2001 15:21:42 +0200 (CEST) (envelope-from clefevre@redirect.to) To: Sergey Babkin Cc: tlambert2@mindspring.com, Robert Withrow , Cyrille Lefevre , freebsd-hackers@FreeBSD.ORG Subject: Re: import NetBSD rc system References: <200106141357.JAA27316@pobox.engeast.BayNetworks.COM> <3B29B98E.DAF2ABE4@mindspring.com> <3B2A9F60.A12AB917@bellatlantic.net> X-Face: V|+c;4!|B?E%BE^{E6);aI.[<97Zd*>^#%Y5Cxv;%Y[PT-LW3;A:fRrJ8+^k"e7@+30g0YD0*^^3jgyShN7o?a]C la*Zv'5NA,=963bM%J^o]C Reply-To: Cyrille Lefevre In-Reply-To: <3B2A9F60.A12AB917@bellatlantic.net> Mail-Copies-To: never From: Cyrille Lefevre Date: 16 Jun 2001 15:21:40 +0200 Message-ID: Lines: 17 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sergey Babkin writes: [snip] > How about keeping the state of the system as empty files in > a subdirectory, say, /etc/rcstate.d. This directory would be > cleaned up at boot time and then as each of the service startup > script is run (and completed successfully), an empty file with the > same name would be created in this directory. Reversely, when a > service shutdown script is completed (or started ?), the state > file is removed. This will allow to define the run states easily > as empty rc scripts containing only dependency information in them. how about if a service die or started w/o the rc subsystem ? Cyrille. -- home: mailto:clefevre@redirect.to UNIX is user-friendly; it's just particular work: mailto:Cyrille.Lefevre@edf.fr about who it chooses to be friends with. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message