$XXX is not set properly

An old corecode suggestion about cleaning up the “$XXX is not set properly” warning has been reinforced by Robert Garrett, the fellow who brought RCNG into DragonFly.

If you see that error message on startup or shutdown, this will fix it:

sed -i -e 's/FreeBSD)/DragonFly|&/' /usr/local/etc/rc.d/rc.subr