]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add an extension of set_rcvar(), a new function set_rcvar_obsolete(),
authorhrs <hrs@FreeBSD.org>
Sat, 12 Sep 2009 22:19:48 +0000 (22:19 +0000)
committerhrs <hrs@FreeBSD.org>
Sat, 12 Sep 2009 22:19:48 +0000 (22:19 +0000)
commit50032d4374d96a00af841fefa7a3e0979ddb1beb
treea1e4921fb0701652e351eeac0d6b2bb30030fbfc
parentcc29e78397759e3f12b8587351da540a33307d95
Add an extension of set_rcvar(), a new function set_rcvar_obsolete(),
and $desc.

The set_rcvar_obsolete() is for displaying an obsolete variable
and the new one.  More specifically, a warning is displayed when
a variable is removed or changed in the source tree and the user
still defines the old one.

$router* and $ipv6_router* are replaced with $routed_* and
$route6d_* for consistency.  The old variables still work but
can be removed in the future.

MFC after: 3 days
etc/rc.d/route6d
etc/rc.d/routed
etc/rc.subr