#
1.6 |
|
02-May-2012 |
gendalia |
Add the ability for staticroute to evaluate lines from /etc/route.conf as shell script fragments, add example to the route.conf man page of evaluating variables.
Remove route.conf man page statement that staticroute is enabled in rc.conf since that's incorrect.
Wrap the staticroute while in parens, per <apb> & <christos>, and quote all the arguments for the evals.
|
#
1.5 |
|
07-Oct-2009 |
tron |
branches: 1.5.6; 1.5.8; Add proper error reporting via the return code: Remember if any of the "route" commands failed and return an error in that case.
|
#
1.4 |
|
07-Oct-2009 |
tron |
Add a "return 0" to avoid incorrect error returns because we ran out of lines to read from "/etc/route.conf".
|
#
1.3 |
|
31-Jan-2008 |
reed |
branches: 1.3.2; 1.3.12; Add comment to point to manual page for details.
|
#
1.2 |
|
13-Aug-2004 |
mycroft |
branches: 1.2.16; Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this for a speedup by doing: $_rc_subr_loaded . /etc/rc.subr
|
#
1.1 |
|
09-Jan-2003 |
christos |
Script to add and remove static routes:
eg: $ cat /etc/route.conf # Turn on/off IP forwarding. +sysctl -w net.inet.ip.forwarding=1 -sysctl -w net.inet.ip.forwarding=0 net 192.168.2.0 -netmask 255.255.255.0 192.168.150.2
|
#
1.2.16.1 |
|
22-Mar-2008 |
matt |
sync with HEAD
|
#
1.3.12.1 |
|
18-May-2012 |
riz |
Pull up following revision(s) (requested by gendalia in ticket #1757): share/man/man5/route.conf.5: revision 1.4 etc/rc.d/staticroute: revision 1.4 etc/rc.d/staticroute: revision 1.5 etc/rc.d/staticroute: revision 1.6 Add a "return 0" to avoid incorrect error returns because we ran out of lines to read from "/etc/route.conf". Add proper error reporting via the return code: Remember if any of the "route" commands failed and return an error in that case. Add the ability for staticroute to evaluate lines from /etc/route.conf as shell script fragments, add example to the route.conf man page of evaluating variables. Remove route.conf man page statement that staticroute is enabled in rc.conf since that's incorrect. Wrap the staticroute while in parens, per <apb> & <christos>, and quote all the arguments for the evals.
|
#
1.3.2.2 |
|
31-Jan-2008 |
reed |
Add comment to point to manual page for details.
|
#
1.3.2.1 |
|
31-Jan-2008 |
reed |
file staticroute was added on branch mjf-devfs on 2008-01-31 15:21:33 +0000
|
#
1.5.8.1 |
|
06-May-2012 |
riz |
Pull up following revision(s) (requested by gendalia in ticket #211): share/man/man5/route.conf.5: revision 1.4 etc/rc.d/staticroute: revision 1.6 Add the ability for staticroute to evaluate lines from /etc/route.conf as shell script fragments, add example to the route.conf man page of evaluating variables. Remove route.conf man page statement that staticroute is enabled in rc.conf since that's incorrect. Wrap the staticroute while in parens, per <apb> & <christos>, and quote all the arguments for the evals.
|
#
1.5.6.1 |
|
23-May-2012 |
yamt |
sync with head.
|