Revision 546

Jump to revision: Previous Next
Author: agriffis
Date: Sun Sep 12 03:15:38 2004 UTC (14 years, 8 months ago)
Changed paths: 1
Log Message:
Fix sorting of after/before/need/use variables.  The arguments are
space-separated, not newline-separated, so they need to be massaged
before sorting.  Sort the arguments on calling the
after/before/need/use callback rather than while sorting modules; this
should speed things up since they won't be sorted every time through
the loop in modules_load

Use some descriptive variable names in modules_load: loaded_interface,
changed_something, tmp, modnums, missingdeps.  Try to avoid re-using
variables for different purposes

Don't test true or false in [[ ]], instead call them directly

Remove an unnecessary eval when setting umods

Use sort -n for sorting the modules numerically

Normalize spacing for loops: for ((var=0; ...))

Changed paths:

Path Details
Directorytrunk/net-scripts/init.d/net.lo modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.20