On Thu, 1 Oct 2009, Stuart D. Gathman wrote: > keep simulation parameters in a separate config file from driver parameters.
Meanwhile file docs/developers.txt writes (watch the third sentence): | Note: this does not apply to drivers. Driver authors should use the | upsdrv_makevartable() scheme to pick up values from ups.conf. Drivers | should not have their own config files. | | Drivers may have their own data files, such as lists of hardware, | mapping tables, or similar. The difference between a data file and a | config file is that users should never be expected to edit a data file | under normal circumstances. This technique might be used to add more | hardware support to a driver without recompiling. Now what? :-) It is hard to decide if "charging current of an imaginary UPS" or "the maximal charge time" is a hardware description or simulation data. Gabor _______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
