Additional updates to rcrun and rc.subr: rcenable/rcdisable added
Matthew Dillon
dillon at apollo.backplane.com
Fri Dec 12 19:06:00 PST 2003
I've continued to expand on the varsym-based state storage system
and enhanced rcrun as well, adding 'rcenable' and 'rcdisable'.
The system now recognizes the following states:
running The service is running
failed A start or stop operation failed
disabled The service is disabled
irrelevant The server is not needed
configured The non-process service has been configured
stopped The service has been stopped
The rcenable and rcdisable commands modify /etc/rc.conf plus issue
start and stop.
Call for volunteers! There are many rc.d/ scripts which do not
support 'stop'. Things like sshd and rwho, for example. It would be
great if interested parties could start adding 'stop' functionality
to the more common services. Submit patch sets to submit at xxxxxxxxxxxxxxxx
-Matt
Matthew Dillon
<dillon at xxxxxxxxxxxxx>
More information about the Kernel
mailing list