Repair rcenable(8) and rcdisable(8).
authorSascha Wildner <saw@online.de>
Sun, 26 Jul 2009 21:39:27 +0000 (23:39 +0200)
committerSascha Wildner <saw@online.de>
Sun, 26 Jul 2009 21:41:04 +0000 (23:41 +0200)
commit6eb624aa085be3e16ad3bc94c9cc6768f41e236a
treee2b7a3d6597f72e2b192361dc66e7ccb9e715aca
parent5b77e1f680812324ac459c1b6bf730ad1a638b68
Repair rcenable(8) and rcdisable(8).

* rcenable(8) was not playing nicely with our three year old change to
  no longer depend on _enable being appended to rc variables for starting
  daemons etc. (i.e., foo_enable=yes and foo=yes both work).

* rcdisable(8) did not properly run rcstop(8) because that needs to be
  run when the variable is still set to 'yes' and not after it's been
  set to 'no'.

Noticed-by: phma on #dragonflybsd
sbin/rcrun/rcrun.sh