Add an 'enable' and 'disable' target to rcrun, and add softlink shortcuts
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 13 Dec 2003 02:49:09 +0000 (02:49 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 13 Dec 2003 02:49:09 +0000 (02:49 +0000)
commit6d94234bafb19a2f300e2d1862f498344401c5f1
treed67725508f4ed180806f3cd4f18188316e22c69c
parent65afae277b0fd71d07ad4a683a94384b49429c9b
Add an 'enable' and 'disable' target to rcrun, and add softlink shortcuts
for 'rcenable' and 'rcdisable'.  These functions will modify rcrun-generated
entries in /etc/rc.conf.  They will not delete any manual entries in rc.conf
even if the manual entry is being overriden.

Add additional states to the varsym vars and make rc.subr and rcrun aware
of them.  The states are now:

    running failed disabled irrelevant configured stopped
etc/rc.subr
sbin/rcrun/Makefile
sbin/rcrun/rcrun.sh