mirror of
https://github.com/troglobit/finit.git
synced 2026-10-08 16:34:45 +07:00
This adds support for a `set` directive in the modules-load plugin. Currently only `set noindex` and `set index = NUM` are supported and either disable indexing (:ID) of modules, or reset the index to NUM, for the given file. For each new file read the index is reset to the value it would have had. E.g. 01-foo.conf: => name:id esp4.ko => modprobe.esp4.ko:1 set noindex deflate.ko => modprobe.deflate.ko 02-bar.conf: nls_iso8859-15.ko => modprobe.nls_iso8859-15.ko:3 nls_utf8.ko => modprobe.nls_utf8.ko:4 Fixes issue #257 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>