summaryrefslogtreecommitdiffstats
path: root/src/modules-load (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* log: log_error() and friends add a newline after each line anyway, so avoid ↵Lennart Poettering2013-12-241-2/+2
| | | | including it in the log strings
* trivial coding style clean upsThomas Hindoe Paaboel Andersen2013-12-031-2/+1
| | | | | | | | | | | | | | - Add space between if/for and the opening parentheses - Place the opening brace on same line as the function (not for udev) From the CODING_STYLE Try to use this: void foo() { } instead of this: void foo() { }
* clients: unify how we invoke getopt_long()Lennart Poettering2013-11-061-5/+15
| | | | | Among other things this makes sure we always expose a --version command and show it in the help texts.
* util: unify reading of /proc/cmdlineLennart Poettering2013-11-061-8/+4
| | | | | | Instead of individually checking for containers in each user do this once in a new call proc_cmdline() that read the file only if we are not in a container.
* modules-load: fix error handlingLennart Poettering2013-10-021-2/+2
|
* move _cleanup_ attribute in front of the typeHarald Hoyer2013-04-181-2/+2
| | | | http://lists.freedesktop.org/archives/systemd-devel/2013-April/010510.html
* fileio: in envfiles, do not skip lines following empty linesZbigniew Jędrzejewski-Szmek2013-04-141-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=63477
* modules-load: there's really no point in mentioning that a certain modules ↵Lennart Poettering2013-03-261-1/+1
| | | | | | | is already loaded After all, this runs in parallel to udev, so there's quite a chance it already is....
* honor SELinux labels, when creating and writing config filesHarald Hoyer2013-02-141-0/+1
| | | | | | | Also split out some fileio functions to fileio.c and provide a SELinux aware pendant in fileio-label.c see https://bugzilla.redhat.com/show_bug.cgi?id=881577
* binfmt,tmpfiles,modules-load,sysctl: rework the various early-boot services ↵Lennart Poettering2013-02-111-57/+124
| | | | | | | | | | | | | | | | | | | that work on .d/ directories This unifies much of the logic behind them: - All four will now ofllow the rule that the earlier file and earlier assignment in the .d/ directories wins. Before, sysctl was the only outlier, where the later setting always won. - All four now support getopt() and --help on the command line. - All four can now handle specification of configuration file names on the command line to apply. The tools will automatically find them, and apply them. Previously only tmpfiles could do that. This is useful for %post scripts in RPMs and suchlike. - This fixes various error path issues in conf_files_list()
* shared: conf-files - add root parameterKay Sievers2013-02-081-1/+1
|
* modules-load: fix memory leak when bailing outZbigniew Jędrzejewski-Szmek2012-12-041-15/+8
| | | | Suggested-by: Mauro Dreissig <mukadr@gmail.com>
* modules-load: initalize files to nullVáclav Pavlín2012-09-211-1/+1
|
* log.h: new log_oom() -> int -ENOMEM, use itShawn Landden2012-07-261-8/+4
| | | | | | also a number of minor fixups and bug fixes: spelling, oom errors that didn't print errors, not properly forwarding error codes, few more consistency issues, et cetera
* use "Out of memory." consistantly (or with "\n")Shawn Landden2012-07-251-2/+2
| | | | | | | | glibc/glib both use "out of memory" consistantly so maybe we should consider that instead of this. Eliminates one string out of a number of binaries. Also fixes extra newline in udev/scsi_id
* modules-load: fix kernel cmdline parsingMichal Schmidt2012-07-251-2/+2
|
* modules load: rename kernel command line option to (rd.)modules-load=Kay Sievers2012-07-021-2/+2
|
* modules-load: use correct va_list logging functionMichal Schmidt2012-06-281-1/+1
|
* modules-load: fix return valueMichal Schmidt2012-06-281-1/+1
|
* modules-load: don't fail on builtin modules, better printsMichal Schmidt2012-06-271-13/+31
| | | | | | | | Distinguish between non-existing modules, builtin modules, already loaded modules, and modules we load. Only the non-existing ones are treated as errors. https://bugzilla.redhat.com/show_bug.cgi?id=817760
* modules-load: parse driver=/rd.driver= kernel command line optionLennart Poettering2012-06-221-38/+134
| | | | This generalizes logic that already has been available in dracut before.
* util: split-out conf-file.[ch]Kay Sievers2012-05-071-0/+1
|
* build-sys: add stub makefiles to all subdirs to ease development with emacsLennart Poettering2012-04-131-0/+1
|
* move all tools to subdirsKay Sievers2012-04-121-0/+155