Skip site navigation (1)Skip section navigation (2)
Date:      16 Jun 2001 15:21:40 +0200
From:      Cyrille Lefevre <clefevre-lists@noos.fr>
To:        Sergey Babkin <babkin@bellatlantic.net>
Cc:        tlambert2@mindspring.com, Robert Withrow <bwithrow@nortelnetworks.com>, Cyrille Lefevre <clefevre@redirect.to>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: import NetBSD rc system
Message-ID:  <elskftln.fsf@gits.dyndns.org>
In-Reply-To: <3B2A9F60.A12AB917@bellatlantic.net>
References:  <200106141357.JAA27316@pobox.engeast.BayNetworks.COM> <3B29B98E.DAF2ABE4@mindspring.com> <3B2A9F60.A12AB917@bellatlantic.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Sergey Babkin <babkin@bellatlantic.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?elskftln.fsf>