Module Name: src Committed By: riz Date: Sat May 19 16:48:36 UTC 2012
Modified Files: src/etc/rc.d [netbsd-5]: staticroute src/share/man/man5 [netbsd-5]: route.conf.5 Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.3.12.1 src/etc/rc.d/staticroute cvs rdiff -u -r1.3 -r1.3.2.1 src/share/man/man5/route.conf.5 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.