Idea for FreeBSD
Tim Kientzle
kientzle at freebsd.org
Thu Aug 7 06:32:23 UTC 2008
> The Solaris smf tools provide some nice facilities: one is single
> interface to start, stop, check and restart all the services on a
> system. We pretty much have that ...
>
> The other is a single interface to enable, disable and query the
> status of all the services. All we really have is the last one...
Sounds like the only missing pieces, then, are standard
ways to enable, disable, and configure services. How about:
sudo /etc/rc.d/ssh enable
sudo /etc/rc.d/ssh disable
sudo /etc/rc.d/ssh configure
That shouldn't be much of a stretch to implement, either.
The first two just append entries to /etc/rc.conf. The
third opens an editor with a list of variables supported
by this service and then appends the result to rc.conf.
Tim
More information about the freebsd-hackers
mailing list